Exception: Dry::Protocol::MalformedDefinition
- Inherits:
-
StandardError
- Object
- StandardError
- Dry::Protocol::MalformedDefinition
- Defined in:
- lib/dry/errors/malformed_definition.rb
Instance Method Summary collapse
-
#initialize(suspect) ⇒ MalformedDefinition
constructor
A new instance of MalformedDefinition.
Constructor Details
#initialize(suspect) ⇒ MalformedDefinition
Returns a new instance of MalformedDefinition.
4 5 6 |
# File 'lib/dry/errors/malformed_definition.rb', line 4 def initialize(suspect) super "Malformed definition of “#{suspect.inspect}”. Block required." end |