Skip to navigation

APIError

View as Markdown
global virtual class APIError
Description
Represents an error returned by an API.
code
@AuraEnabled global Integer code
The error code.
description
@AuraEnabled global String description
The error description.
none
global static final APIError none
Constant for no error.
new APIError(APIErrorCode.SUCCESS, null)