Exception: Yasst::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/yasst/error.rb

Overview

Error classes for Yasst

Defined Under Namespace

Classes: AlreadyDecrypted, AlreadyEncrypted, InvalidCryptoAlgorithm, InvalidCryptoProfile, InvalidCryptoProvider, InvalidFileDestination, InvalidPassPhrase

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#errorObject (readonly)

Returns the value of attribute error.



4
5
6
# File 'lib/yasst/error.rb', line 4

def error
  @error
end