Skip to content

Instantly share code, notes, and snippets.

@unlight
Last active September 26, 2024 20:04
Show Gist options
  • Save unlight/6d54daf6c891e1d12697f577132b590d to your computer and use it in GitHub Desktop.
Save unlight/6d54daf6c891e1d12697f577132b590d to your computer and use it in GitHub Desktop.
Errors

Errors
RestError
BadDigestError
BadMethodError
InternalError
InvalidArgumentError
InvalidContentError
InvalidCredentialsError
InvalidHeaderError
InvalidVersionError
MissingParameterError
NotAuthorizedError
RequestExpiredError
RequestThrottledError
ResourceNotFoundError
WrongAcceptError
CancelledError
UnknownError
InvalidArgumentError
DeadlineExceededError
NotFoundError
AlreadyExistsError
PermissionDeniedError
UnauthenticatedError
ResourceExhaustedError
FailedPreconditionError
AbortedError
OutOfRangeError
UnimplementedError
InternalError
UnavailableError
DataLossError
UnauthenticatedError
ArgumentException // https://github.com/tsdotnet/exceptions/tree/master/src
ArgumentNullException
ArgumentOutOfRangeException
Exception
InvalidOperationException
NotImplementedException
NullReferenceException
SystemException
Exception
HttpException
ForbiddenException
RatelimitedException
UnauthorizedException
UserInputException
NotFoundException
ValidationException
UnsupportedValueError
ApplicationError
ArgumentError
ArgumentNullError
ArgumentOutOfRangeError
ArithmeticError
DatabaseError
DepreciatedError
DivideByZeroError
FileNotFoundError
IndexOutOfRangeError
InvalidOperationError
IOError
NotImplementedError
NotSupportedError
NullReferenceError
OverflowError

Exception
RuntimeException
NullPointerException
ArrayIndexOutOfBoundsException
ArithmeticException
ClassCastException
IllegalArgumentException
IllegalStateException
IOException
FileNotFoundException

EOFException
SQLException
NumberFormatException
IndexOutOfBoundsException
SecurityException
UnsupportedOperationException
ConcurrentModificationException
OutOfMemoryError
StackOverflowError
NoSuchElementException

FormatFlagsConversionMismatchException
MalformedURLException
ParseException
TimeoutException
ExecutionException
CancellationException
DataFormatException
UnsupportedEncodingException
KeyStoreException
CertificateException

IOException (subclass)
SocketTimeoutException
ConnectException
UnknownHostException
HttpRetryException
ZipError
ClassNotFoundException
InstantiationException
InvocationTargetException
NoSuchMethodException

IllegalAccessException
CloneNotSupportedException
PropertyVetoException
ResourceNotFoundException (custom)
InvalidInputException (custom)
CustomDatabaseAccessError (custom)
BusinessLogicViolation (custom)
InvalidUserInput (custom)
UnauthorizedAccess (custom)
DataIntegrityViolation (custom)

InvalidOperationError (custom)
ConfigurationError (custom)
ServiceUnavailableError (custom)
RateLimitExceededError (custom)
DependencyFailureError (custom)
NetworkConnectionError (custom)
FileReadError (custom)
FileWriteError (custom)
DataParsingError (custom)
SessionExpiredError (custom)

UserNotFoundError (custom)

PaymentProcessingError (custom)

InvalidTransactionError (custom)

InsufficientFundsError (custom)

EmailAlreadyInUseError (custom)

PasswordTooWeakError (custom)

TokenExpiredError (custom)

InvalidCredentialsError (custom)

ResourceConflictError (custom)

TooManyRequestsError (custom)

DataValidationFailedError (custom)

FeatureNotAvailableError (custom)

InvalidApiKeyError (custom)

OperationTimedOutError (custom)

ServiceNotRespondingError (custom)

DatabaseConnectionFailedError (custom)

DataAccessLayerFailureError (custom)

CacheMissError (custom)

SessionNotFoundError (custom)

ResourceLockedError (custom)

CustomFileUploadException
CustomAuthenticationFailed
CustomAuthorizationDenied
CustomDataProcessingFailed
CustomServiceTimeout
CustomNetworkFailure
CustomBusinessRuleViolation
CustomPaymentGatewayFailure
CustomThirdPartyServiceFailure
CustomEmailSendingFailed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment