Exception: Coltrane::IntervalNotFoundError

Inherits:
ColtraneError
  • Object
show all
Defined in:
lib/coltrane/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(arg) ⇒ IntervalNotFoundError

Returns a new instance of IntervalNotFoundError.



61
62
63
64
65
66
# File 'lib/coltrane/errors.rb', line 61

def initialize(arg)
  super "The interval \"#{arg}\" that was provided wasn't found. "\
        "If you're sure this interval exists, "\
        "would you mind to suggest it's inclusion here: "\
        'https://github.com/pedrozath/coltrane/issues '\
end