Exception: Protoboard::Errors::InvalidCallback

Inherits:
StandardError
  • Object
show all
Defined in:
lib/protoboard/errors/invalid_callback.rb

Constant Summary collapse

DEFAULT_MESSAGE =
'All callbacks should respond to #call and receive one argument'

Instance Method Summary collapse

Constructor Details

#initialize(msg = DEFAULT_MESSAGE) ⇒ InvalidCallback

Returns a new instance of InvalidCallback.



7
# File 'lib/protoboard/errors/invalid_callback.rb', line 7

def initialize(msg = DEFAULT_MESSAGE); end