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.
654 655 656 657 |
# File 'lib/pretty_text.rb', line 654 def initialize(, backtrace) @message = @backtrace = backtrace end |
Instance Attribute Details
#backtrace ⇒ Object
Returns the value of attribute backtrace.
652 653 654 |
# File 'lib/pretty_text.rb', line 652 def backtrace @backtrace end |
#message ⇒ Object
Returns the value of attribute message.
652 653 654 |
# File 'lib/pretty_text.rb', line 652 def @message end |