Class: Verikloak::BFF::UntrustedProxyError
- Defined in:
- lib/verikloak/bff/errors.rb
Overview
Raised when a request did not pass through a trusted proxy peer.
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
Constructor Details
#initialize(msg = 'request did not pass through a trusted proxy') ⇒ void
32 33 34 |
# File 'lib/verikloak/bff/errors.rb', line 32 def initialize(msg = 'request did not pass through a trusted proxy') super(msg, code: 'untrusted_proxy', http_status: 401) end |