Exception: Servus::Support::Errors::UriTooLongError

Inherits:
ServiceError
  • Object
show all
Defined in:
lib/servus/support/errors.rb

Overview

414 URI Too Long - URI is too long for the server to process.

Constant Summary collapse

DEFAULT_MESSAGE =
'URI too long'

Instance Attribute Summary

Attributes inherited from ServiceError

#message

Instance Method Summary collapse

Methods inherited from ServiceError

#initialize

Constructor Details

This class inherits a constructor from Servus::Support::Errors::ServiceError

Instance Method Details

#api_errorObject



204
# File 'lib/servus/support/errors.rb', line 204

def api_error = { code: http_status, message: message }

#http_statusObject



203
# File 'lib/servus/support/errors.rb', line 203

def http_status = :uri_too_long