class KBSecret::Exceptions::GeneratorLengthError

Raised during generator creation if a non-positive generator length is requested.

Public Class Methods

new(length) click to toggle source

@param length [Integer] the length of the generator

Calls superclass method
# File lib/kbsecret/exceptions.rb, line 88
def initialize(length)
  super "Bad secret generator length (#{length}, must be positive)"
end