Class: ReeErrors::BuildError
- Inherits:
-
Object
- Object
- ReeErrors::BuildError
- Includes:
- Ree::FnDSL
- Defined in:
- lib/ree_lib/packages/ree_errors/package/ree_errors/build_error.rb
Instance Method Summary collapse
Instance Method Details
#call(caller, type, code, locale, default_msg) ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/ree_lib/packages/ree_errors/package/ree_errors/build_error.rb', line 9 def call(caller, type, code, locale, default_msg) klass = Class.new(Error) klass.instance_exec do @caller = caller @type = type @code = code @locale = locale @default_msg = default_msg end klass end |