Exception: Lhj::Interface::LhjError
- Inherits:
-
LhjException
- Object
- StandardError
- LhjException
- Lhj::Interface::LhjError
- Defined in:
- lib/lhj/ui/errors/lhj_error.rb
Instance Attribute Summary collapse
-
#error_info ⇒ Object
readonly
Returns the value of attribute error_info.
-
#show_github_issues ⇒ Object
readonly
Returns the value of attribute show_github_issues.
Instance Method Summary collapse
-
#initialize(show_github_issues: false, error_info: nil) ⇒ LhjError
constructor
A new instance of LhjError.
- #prefix ⇒ Object
Methods inherited from LhjException
Constructor Details
#initialize(show_github_issues: false, error_info: nil) ⇒ LhjError
Returns a new instance of LhjError.
9 10 11 12 |
# File 'lib/lhj/ui/errors/lhj_error.rb', line 9 def initialize(show_github_issues: false, error_info: nil) @show_github_issues = show_github_issues @error_info = error_info end |
Instance Attribute Details
#error_info ⇒ Object (readonly)
Returns the value of attribute error_info.
7 8 9 |
# File 'lib/lhj/ui/errors/lhj_error.rb', line 7 def error_info @error_info end |
#show_github_issues ⇒ Object (readonly)
Returns the value of attribute show_github_issues.
6 7 8 |
# File 'lib/lhj/ui/errors/lhj_error.rb', line 6 def show_github_issues @show_github_issues end |
Instance Method Details
#prefix ⇒ Object
14 15 16 |
# File 'lib/lhj/ui/errors/lhj_error.rb', line 14 def prefix '[USER_ERROR]' end |