Exception: Zx::AbortError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Zx::AbortError
- Defined in:
- lib/zx.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(message: nil, type: :error) ⇒ AbortError
constructor
A new instance of AbortError.
Constructor Details
#initialize(message: nil, type: :error) ⇒ AbortError
Returns a new instance of AbortError.
12 13 14 15 |
# File 'lib/zx.rb', line 12 def initialize(message: nil, type: :error) @type = type super() end |
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
10 11 12 |
# File 'lib/zx.rb', line 10 def type @type end |