Exception: Card::Error::Abort
- Inherits:
-
StandardError
- Object
- StandardError
- Card::Error::Abort
- Defined in:
- lib/card/error.rb
Overview
exception class for aborting card actions
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.
Constructor Details
#initialize(status, msg = "") ⇒ Abort
Returns a new instance of Abort.
44 45 46 47 |
# File 'lib/card/error.rb', line 44 def initialize status, msg="" @status = status super msg end |
Instance Attribute Details
#status ⇒ Object (readonly)
Returns the value of attribute status.
42 43 44 |
# File 'lib/card/error.rb', line 42 def status @status end |