Exception: Servus::Support::Errors::RequestHeaderFieldsTooLargeError

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

Overview

431 Request Header Fields Too Large - server unwilling to process due to header size.

Constant Summary collapse

DEFAULT_MESSAGE =
'Request header fields too large'

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



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

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

#http_statusObject



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

def http_status = :request_header_fields_too_large