Exception: Creds::MissingMasterKeyError Private

Inherits:
StandardError
  • Object
show all
Defined in:
lib/creds/errors.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Constant Summary collapse

MESSAGE =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

<<-MSG.strip_heredoc.freeze
    You have encrypted credentials but no master key.

    Either get or recover the file config/master.key
    or set the environment variable RAILS_MASTER_KEY
MSG

Instance Method Summary collapse

Instance Method Details

#initalizeObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



54
55
56
# File 'lib/creds/errors.rb', line 54

def initalize
  super(MESSAGE)
end