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



46
47
48
# File 'lib/hanami/model/error.rb', line 46

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