Skip to main content

Error Types

InternalServerError

This error should be thrown when some unexpected and exceptional case is encountered.

Signature

UserInputError

This error should be thrown when user input is not as expected.

Signature

IllegalOperationError

This error should be thrown when an operation is attempted which is not allowed.

Signature

UnauthorizedError

This error should be thrown when the user's authentication credentials do not match.

Signature

ForbiddenError

This error should be thrown when a user attempts to access a resource which is outside of his or her privileges.

Signature

ChannelNotFoundError

This error should be thrown when a Channel cannot be found based on the provided channel token.

Signature

EntityNotFoundError

This error should be thrown when an entity cannot be found in the database, i.e. no entity of the given entityName (Product, User etc.) exists with the provided id.

Signature
Was this chapter helpful?
Report Issue
Edited Apr 20, 2026ยทEdit this page