Exception: InvalidLevelException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/breezer/exceptions.rb

Overview

Thrown the supplied level is invalid

Instance Method Summary collapse

Constructor Details

#initialize(msg = "Error: level must be one of: 'major', 'minor', 'patch' or 'exact'") ⇒ InvalidLevelException

Returns a new instance of InvalidLevelException.



19
20
21
# File 'lib/breezer/exceptions.rb', line 19

def initialize(msg = "Error: level must be one of: 'major', 'minor', 'patch' or 'exact'")
  super
end