Errors

Errors provides methods to create service errors

Errors Functions

createAuthorisationError Errors.createAuthorisationError( error , code ) Creates a com.ebasetech.xi.services.HttpAuthorisationError supplying an error message and the response code.
createNotFoundError Errors.createNotFoundError( error , code ) Creates a com.ebasetech.xi.services.HttpNotFoundError supplying an error message and the response code.
createRequestError Errors.createRequestError( error , code ) Creates a com.ebasetech.xi.services.HttpRequestError supplying an error message and the response code.
createServerError Errors.createServerError( error , code ) Creates a com.ebasetech.xi.services.HttpServerError supplying an error message and the response code.
createUnknownError Errors.createUnknownError( error , code ) Creates a com.ebasetech.xi.services.HttpUnknownError supplying an error message and the response code.