class KBSecret::Exceptions::RecordLoadError

Raised during record loading if a particular file can't be loaded

Public Class Methods

new(path) click to toggle source

@param path [String] the path to the record

Calls superclass method
# File lib/kbsecret/exceptions.rb, line 13
def initialize(path)
  base = File.basename(path)
  super "Failed to load record in file: '#{base}'"
end