Exception: PrettyText::JavaScriptError
- Inherits:
-
StandardError
- Object
- StandardError
- PrettyText::JavaScriptError
- Defined in:
- lib/pretty_text.rb
Instance Attribute Summary collapse
-
#backtrace ⇒ Object
Returns the value of attribute backtrace.
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(message, backtrace) ⇒ JavaScriptError
constructor
A new instance of JavaScriptError.
Constructor Details
#initialize(message, backtrace) ⇒ JavaScriptError
Returns a new instance of JavaScriptError.
678 679 680 681 |
# File 'lib/pretty_text.rb', line 678 def initialize(, backtrace) @message = @backtrace = backtrace end |
Instance Attribute Details
#backtrace ⇒ Object
Returns the value of attribute backtrace.
676 677 678 |
# File 'lib/pretty_text.rb', line 676 def backtrace @backtrace end |
#message ⇒ Object
Returns the value of attribute message.
676 677 678 |
# File 'lib/pretty_text.rb', line 676 def @message end |