Show:
Extends SnapCar.Error

Represents an error received from the API.

Table of Contents

Constructor

SnapCar.APIError
(
  • data
)

Defined in dist/SnapCar.js:657

Parameters:

  • data Object

    The jQuery object.

Properties

code

Number const

Defined in dist/SnapCar.js:693

The type of error.

description

String const

A human readable text describing the error. Not to be displayed to the user.

details

Object const

Defined in dist/SnapCar.js:703

Additional details such as a list of invalid parameters. Refer to the API reference for more information.

message

String const

A key which defines more precisely the type of error.

serverResponse

String const

Defined in dist/SnapCar.js:713

The server response body.

type

String const

The type of error.