Error Class

Definition

Defines the error that occurred.

public class Error
type Error = class
Public Class Error
Inheritance
System.Object
Error

Constructors

Error()

Initializes a new instance of the Error class.

Error(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.

Value

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

Methods

Validate()

Validate the object.

Applies to