new SCError()

Description

SuiteScript backend errors are directly related to the errors returned from REST operations, including permission errors and SuiteScript errors.

Members


status :number

Description

The HTTP status code of the error, for example, 404.


code :String

Description

The status code in string format, for example, "ERR_BAD_REQUEST".


message :string