Show / Hide Table of Contents

Class ErrorCodes

Constants class of error codes for ApiException

Inheritance
Object
ErrorCodes
Namespace: Seltzr.Exceptions
Assembly: Seltzr.dll
Syntax
C#
public static class ErrorCodes

Fields

| Improve this Doc View Source

ApiError

Generic error code indicating that the request has failed

C#
public const int ApiError = 1
Field Value
Type Description
Int32
| Improve this Doc View Source

AuthFailed

Error code indicating that authentication has failed

C#
public const int AuthFailed = 2
Field Value
Type Description
Int32
| Improve this Doc View Source

ConditionFailed

Error code indicating that a required condition was not met

C#
public const int ConditionFailed = 4
Field Value
Type Description
Int32
| Improve this Doc View Source

Forbidden

Error code indicating that authentication succeeded, but the user does not have the required permissions to access this route.

C#
public const int Forbidden = 7
Field Value
Type Description
Int32
| Improve this Doc View Source

OperationFailed

Error code indicating that the operation failed

C#
public const int OperationFailed = 5
Field Value
Type Description
Int32
| Improve this Doc View Source

ParsingFailed

Error code indicating that parsing has failed

C#
public const int ParsingFailed = 3
Field Value
Type Description
Int32
| Improve this Doc View Source

WritingFailed

Error code indicating that writing the API response failed

C#
public const int WritingFailed = 6
Field Value
Type Description
Int32
  • Improve this Doc
  • View Source
Back to top Generated by DocFX