Exception: AWS::Creds::InvalidKeyTab
- Inherits:
-
Exception
- Object
- Exception
- AWS::Creds::InvalidKeyTab
- Defined in:
- lib/aws/creds/store.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#msg ⇒ Object
Returns the value of attribute msg.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path, msg = nil) ⇒ InvalidKeyTab
constructor
A new instance of InvalidKeyTab.
- #to_s ⇒ Object
Constructor Details
#initialize(path, msg = nil) ⇒ InvalidKeyTab
Returns a new instance of InvalidKeyTab.
6 7 8 9 10 11 12 |
# File 'lib/aws/creds/store.rb', line 6 def initialize path, msg=nil @path, @msg = path, msg def to_s "#{path}: #{msg}" end end |
Instance Attribute Details
#msg ⇒ Object
Returns the value of attribute msg.
5 6 7 |
# File 'lib/aws/creds/store.rb', line 5 def msg @msg end |
#path ⇒ Object
Returns the value of attribute path.
5 6 7 |
# File 'lib/aws/creds/store.rb', line 5 def path @path end |
Instance Method Details
#to_s ⇒ Object
9 10 11 |
# File 'lib/aws/creds/store.rb', line 9 def to_s "#{path}: #{msg}" end |