Apex Toolkit referenceAPIErrorAsk a question|Copy page|View as Markdown|More actionsglobal virtual class APIErrorDescriptionRepresents an error returned by an API.Propertiescode@AuraEnabled global Integer codeThe error code.description@AuraEnabled global String descriptionThe error description.noneglobal static final APIError noneConstant for no error.new APIError(APIErrorCode.SUCCESS, null)