Exception: Ldbws::Request::ParamValidationError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Ldbws::Request::ParamValidationError
- Defined in:
- lib/ldbws/request/base.rb
Overview
Raised when an error occurs when validating request parameters. Messages are passed through directly from dry-schema.
Instance Method Summary collapse
-
#initialize(messages) ⇒ ParamValidationError
constructor
:nodoc:.
-
#messages ⇒ Object
Returns the validation error messages as a hash.
Constructor Details
#initialize(messages) ⇒ ParamValidationError
:nodoc:
72 73 74 |
# File 'lib/ldbws/request/base.rb', line 72 def initialize() # :nodoc: @messages = .to_h end |
Instance Method Details
#messages ⇒ Object
Returns the validation error messages as a hash.
77 78 79 |
# File 'lib/ldbws/request/base.rb', line 77 def @messages end |