HttpError

HttpError contains the reason for the failure and the response code that generated the error

HttpError Functions

getCode HttpError.getCode( ) HTTP Response code that generated the error
getErrorMessage HttpError.getErrorMessage( ) The error message describing the reason for the failure