module:model/ErrorDetails

module:model/ErrorDetails

new module:model/ErrorDetails()

Source:

Constructs a new ErrorDetails.
This object describes errors that occur. It is only valid for responses, and ignored in requests.

Members

(inner) errorCode :String

Source:

An error code associated with the error.

Type:
  • String

(inner) message :String

Source:

A short error message.

Type:
  • String

Methods

(static) constructFromObject(data, obj) → {module:model/ErrorDetails}

Source:

Constructs a ErrorDetails from a plain JavaScript object, optionally creating a new instance.
Copies all relevant properties from data to obj if supplied or a new instance if not.

Parameters:
Name Type Description
data Object

The plain JavaScript object bearing properties of interest.

obj module:model/ErrorDetails

Optional instance to populate.

Returns:

The populated ErrorDetails instance.

Type
module:model/ErrorDetails