Dela via


Error Class

Definition

Defines the error that occurred.

public class Error
type Error = class
Public Class Error
Inheritance
Error

Constructors

Error()

Initializes a new instance of the Error class.

Error(String, String, String, String, String, String)

Initializes a new instance of the Error class.

Properties

Code

Gets or sets the error code that identifies the category of error. Possible values include: 'None', 'ServerError', 'InvalidRequest', 'RateLimitExceeded', 'InvalidAuthorization', 'InsufficientAuthorization'

Message

Gets or sets a description of the error.

MoreDetails

Gets a description that provides additional information about the error.

Parameter

Gets the parameter in the request that caused the error.

SubCode

Gets the error code that further helps to identify the error. Possible values include: 'UnexpectedError', 'ResourceError', 'NotImplemented', 'ParameterMissing', 'ParameterInvalidValue', 'HttpNotAllowed', 'Blocked', 'AuthorizationMissing', 'AuthorizationRedundancy', 'AuthorizationDisabled', 'AuthorizationExpired'

Value

Gets the parameter's value in the request that was not valid.

Methods

Validate()

Validate the object.

Applies to