class UserErrorHandler extends GenericErrorHandler {

  static handleError(response) {
    if (response.statusCode === 404) {
      throw new UserNotFoundError(this.formatMessage(response.statusCode, USER_NOT_FOUND_MESSAGE))