Exception: AwsCredentialsError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/opensecret/plugins.io/error/eco.exceptions.rb

Overview

– – Exception when the AWS credentials are not found. –

Instance Method Summary collapse

Constructor Details

#initialize(message, credential_name) ⇒ AwsCredentialsError

– – Create this exception object



10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'lib/opensecret/plugins.io/error/eco.exceptions.rb', line 10

def initialize message, credential_name

  # --
  # -- Call the parent's constructor to set the message
  # --
  super( message + " Missing Credential => #{credential_name}" )

  # --
  # -- Store the action in an instance variable
  # --
###    @action = action

end