BetaBetaInvalidAn argument was rejected, e.g. a UI element ID of the wrong type or an item that the target slot doesn't allow.
BetaInvalidA reference has gone stale, e.g. the inventory or network link node it points at is no longer valid.
BetaInvalidThe 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.
BetaNotA block or entity could not be found at the given location, e.g. because its chunk isn't loaded or it no longer exists.
BetaNotAn ID was not found in a registry, e.g. asking for a machine that was never registered.
BetaRegistrationRegistering something conflicted with an existing registration.
BetaUnknownThe error type was missing or not recognized.
Identifies what kind of mistake caused a PublicError, so it can be handled programmatically instead of by matching on the message text.