Errors.createAuthorisationError

Creates a com.ebasetech.xi.services.HttpAuthorisationError supplying an error message and the response code. This should be used when generating Authentication errors, for example the server responds with a 401 Unauthorized code

returns HttpAuthorisationError

Parameters

java.lang.String  error,  int  code,