Skip to content

[component] component.go - review ErrNilNextConsumer #9322

@atoulme

Description

@atoulme

ErrNilNextConsumer is an error exposed by the component package.

In what situations can this error actually be thrown, ie, when is the next consumer ever nil?
Would it be possible to do away with this error? Would it make sense to have a check before the component is initialized instead?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions