Sha256: 944030bb1726beadfd7f17f9d3d66b1f1373c0e6639cf35336ad48a3ace0c7e9

Contents?: true

Size: 589 Bytes

Versions: 2

Compression:

Stored size: 589 Bytes

Contents

module PackageTracker
  # Generic PackageTracker Error
  class PackageTrackerError < StandardError; end
  
  # Invalid username/password is posted to the server
  class InvalidCredentialsError < PackageTrackerError; end
  
  # The needed credentials to communicate with the server were not given
  class MissingCredentialsError < PackageTrackerError; end
    
  # The tracking number given was invalid
  class InvalidTrackingNumberError < PackageTrackerError; end
  
  # The carrier for the tracking number could not be discerned
  class CarrierNotFoundError < PackageTrackerError; end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
package_tracker-0.0.3 lib/package_tracker/exceptions.rb
package_tracker-0.0.2 lib/package_tracker/exceptions.rb