Sha256: b248c6f1b83d019ddf69490bf38efe4b7d61d32fcbbc815e176e3ea60fb72390

Contents?: true

Size: 346 Bytes

Versions: 8

Compression:

Stored size: 346 Bytes

Contents

module Gares
  # All errors from this gem will inherit from this one.
  class Error < StandardError
  end
  class UnsupportedIndex < StandardError
  end

  # Raised when requesting a train that does not exist.
  class TrainNotFound < Error
  end
  # Raised when requesting a station that does not exist.
  class StationNotFound < Error
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
gares-3.0.0 lib/gares/errors.rb
gares-2.1.1 lib/gares/errors.rb
gares-2.1.0 lib/gares/errors.rb
gares-2.0.1 lib/gares/errors.rb
gares-2.0.0 lib/gares/errors.rb
gares-2.0.0.pre.2 lib/gares/errors.rb
gares-2.0.0.pre.1 lib/gares/errors.rb
gares-2.0.0.pre.pre lib/gares/errors.rb