Exception: Trax::Model::Errors::Base

Inherits:
StandardError
  • Object
show all
Defined in:
lib/trax/model/errors.rb

Direct Known Subclasses

DuplicatePrefixRegistered, InvalidPrefix

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Base

Returns a new instance of Base.



5
6
7
8
# File 'lib/trax/model/errors.rb', line 5

def initialize(*args)
  message = (self.class::MESSAGE + args).join("\n")
  super(message)
end