Exception: Acter::MissingParameters
- Inherits:
-
InvalidCommand
- Object
- StandardError
- Error
- InvalidCommand
- Acter::MissingParameters
- Defined in:
- lib/acter/error.rb
Instance Attribute Summary
Attributes inherited from InvalidCommand
#action, #params, #schema, #subject
Instance Method Summary collapse
-
#initialize(params, action, subject, schema) ⇒ MissingParameters
constructor
A new instance of MissingParameters.
- #message ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(params, action, subject, schema) ⇒ MissingParameters
Returns a new instance of MissingParameters.
72 73 74 |
# File 'lib/acter/error.rb', line 72 def initialize(params, action, subject, schema) super(schema, subject, action, params) end |
Instance Method Details
#message ⇒ Object
75 76 77 |
# File 'lib/acter/error.rb', line 75 def "Missing required parameters" end |
#to_s ⇒ Object
78 79 80 |
# File 'lib/acter/error.rb', line 78 def to_s "#{}: #{@params.map(&:inspect).join(", ")}" end |