Exception: ISO8601::Errors::UnknownPattern

Inherits:
StandardError
  • Object
show all
Defined in:
lib/iso8601/errors.rb

Overview

Raised when the given pattern doesn’t fit as ISO 8601 parser.

Instance Method Summary collapse

Constructor Details

#initialize(pattern) ⇒ UnknownPattern

Returns a new instance of UnknownPattern.



15
16
17
# File 'lib/iso8601/errors.rb', line 15

def initialize(pattern)
  super("Unknown pattern #{pattern}")
end