Bedrock Energistics Core
    Preparing search index...

    Enumeration PublicErrorTypeBeta

    Identifies what kind of mistake caused a PublicError, so it can be handled programmatically instead of by matching on the message text.

    Index
    InvalidArgument: "InvalidArgument"

    An argument was rejected, e.g. a UI element ID of the wrong type or an item that the target slot doesn't allow.

    InvalidObject: "InvalidObject"

    A reference has gone stale, e.g. the inventory or network link node it points at is no longer valid.

    InvalidState: "InvalidState"

    The call was made at a point where it isn't valid, e.g. registering after registration has closed, or using an API before init was called.

    NotFound: "NotFound"

    A block or entity could not be found at the given location, e.g. because its chunk isn't loaded or it no longer exists.

    NotRegistered: "NotRegistered"

    An ID was not found in a registry, e.g. asking for a machine that was never registered.

    RegistrationConflict: "RegistrationConflict"

    Registering something conflicted with an existing registration.

    Unknown: "Unknown"

    The error type was missing or not recognized.

    This is what you get when the error came from a newer version of Bedrock Energistics Core that has a type this version doesn't know about, or when the failure didn't originate from Bedrock Energistics Core at all. The message is preserved as-is.