class RubyBreaker::Errors::UserError
This class is a base class for any user errors. Unlike internal error, it should use a Context
to inform the source of the error rather than a Position
since user errors tend to generate over multiple points in the program.
Public Class Methods
new(msg, ctx=nil)
click to toggle source
Calls superclass method
# File lib/rubybreaker/debug/error.rb, line 44 def initialize(msg, ctx=nil) super(msg) @ctx = ctx end