Exception: Hanami::Model::InvalidCommandError

Inherits:
Error
  • Object
show all
Defined in:
lib/hanami/model/error.rb

Overview

Error for invalid raw command syntax

Since:

  • 0.5.0

Instance Method Summary collapse

Methods inherited from Error

for, mapping, register

Constructor Details

#initialize(message = 'Invalid command') ⇒ InvalidCommandError

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of InvalidCommandError.

Since:

  • 0.5.0


44
45
46
# File 'lib/hanami/model/error.rb', line 44

def initialize(message = 'Invalid command')
  super
end