Exception: RubyBreaker::Errors::InternalError
- Inherits:
-
Exception
- Object
- Exception
- RubyBreaker::Errors::InternalError
- Defined in:
- lib/rubybreaker/debug/error.rb
Overview
This class is a base class for any internal errors. It should be used to inform the faults within the program and not related to user programs.
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(msg) ⇒ InternalError
constructor
A new instance of InternalError.
Constructor Details
#initialize(msg) ⇒ InternalError
Returns a new instance of InternalError.
15 16 17 18 19 |
# File 'lib/rubybreaker/debug/error.rb', line 15 def initialize(msg) @level = :FATAL if @level == nil msg = "[#{@level}] #{msg} at #{@pos}" super(msg) end |