Exception: InvalidLevelException
- Inherits:
-
StandardError
- Object
- StandardError
- InvalidLevelException
- Defined in:
- lib/breezer/exceptions.rb
Overview
Thrown the supplied level is invalid
Instance Method Summary collapse
-
#initialize(msg = "Error: level must be one of: 'major', 'minor', 'patch' or 'exact'") ⇒ InvalidLevelException
constructor
A new instance of InvalidLevelException.
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 |