class KBSecret::Exceptions::RecordOverwriteError

Raised when record creation or import would cause an unintended overwrite.

Public Class Methods

new(session, label) click to toggle source

@param session [Session] the session being modified @param label [String] the label being overwritten in the session

Calls superclass method
# File lib/kbsecret/exceptions.rb, line 40
def initialize(session, label)
  super "Record '#{label}' already exists in '#{session.label}'"
end