Skip to content

Common exceptions

Roberto Prevato edited this page Sep 21, 2019 · 1 revision

Common exception classes.

TypeDescription
InvalidArgumentA given argument is invalid due to input error.
EmptyArgumentExceptionA required argument is null or empty.
InvalidOperationAn attempted operation is not valid or does not make sense in a certain context.
AcceptedExceptionAn operation cannot be fully completed, but doesn't imply failure.
ObjectNotFoundAn object that is necessary to complete an operation is not found.
UnauthorizedExceptionThe user is not authorized.
ForbiddenExceptionThe user who is attempting the operation doesn't have rights to do it.
NotImplementedExceptionA feature is not implemented.
OperationFailedExceptionGeneric failed operation.
SystemExceptionGeneric system exception.

Clone this wiki locally