Exception: NuclearSecrets::InvalidRequiredSecretValue
- Inherits:
-
NuclearSecretError
- Object
- StandardError
- NuclearSecretError
- NuclearSecrets::InvalidRequiredSecretValue
- Defined in:
- lib/nuclear_secrets/errors.rb
Instance Method Summary collapse
-
#initialize(secrets) ⇒ InvalidRequiredSecretValue
constructor
A new instance of InvalidRequiredSecretValue.
- #message ⇒ Object
Methods inherited from NuclearSecretError
#get_error_list, #given_type_message, #required_type_message
Constructor Details
#initialize(secrets) ⇒ InvalidRequiredSecretValue
66 67 68 |
# File 'lib/nuclear_secrets/errors.rb', line 66 def initialize(secrets) super(secrets: secrets) end |
Instance Method Details
#message ⇒ Object
70 71 72 |
# File 'lib/nuclear_secrets/errors.rb', line 70 def "You used an invalid secret: \n#{get_error_list}" end |