Exception: Card::Error::Abort
- Inherits:
-
StandardError
- Object
- Exception
- StandardError
- Card::Error::Abort
- Defined in:
- card/lib/card/error.rb
Overview
exception class for aborting card actions
Constant Summary
Constants inherited from StandardError
StandardError::MAX_BACKTRACE_LINES
Instance Attribute Summary collapse
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status, msg = "") ⇒ Abort
constructor
A new instance of Abort.
-
#report ⇒ Object
Constructor Details
#initialize(status, msg = "") ⇒ Abort
Returns a new instance of Abort.
119 120 121 122 |
# File 'card/lib/card/error.rb', line 119 def initialize status, msg="" @status = status super msg end |
Instance Attribute Details
#status ⇒ Object (readonly)
Returns the value of attribute status.
113 114 115 |
# File 'card/lib/card/error.rb', line 113 def status @status end |