Exception: Yasst::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Yasst::Error
- Defined in:
- lib/yasst/error.rb
Overview
Error classes for Yasst
Direct Known Subclasses
AlreadyDecrypted, AlreadyEncrypted, InvalidCryptoAlgorithm, InvalidCryptoProfile, InvalidCryptoProvider, InvalidFileDestination, InvalidPassPhrase
Defined Under Namespace
Classes: AlreadyDecrypted, AlreadyEncrypted, InvalidCryptoAlgorithm, InvalidCryptoProfile, InvalidCryptoProvider, InvalidFileDestination, InvalidPassPhrase
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
Instance Method Summary collapse
-
#initialize(error = nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(error = nil) ⇒ Error
Returns a new instance of Error.
6 7 8 |
# File 'lib/yasst/error.rb', line 6 def initialize(error = nil) @error = error end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
4 5 6 |
# File 'lib/yasst/error.rb', line 4 def error @error end |