HubErrors
An interface for custom Hub errors.
getCode
Gets the code of the error that occurred.
getHttpStatus
Gets the HTTP status appropriate for this error.
getMessage
Gets a message describing the error that occurred.