Sha256: f69d0b7b784f56064c6fc6d713b8a414b20f06046482ce1be85f0c1474952bf1
Contents?: true
Size: 960 Bytes
Versions: 8
Compression:
Stored size: 960 Bytes
Contents
module Loopiator class ApiError < StandardError; end class AuthError < ApiError def message "You've supplied invalid authentication credentials. Please check your credentials and then try again." end end class RateLimitError < ApiError def message "You've reached the number of allowed API-requests within the given time period. Please wait a bit and then try again." end end class InvalidParameterError < ApiError def message "One or several parameters have invalid parameters supplied." end end class UnknownError < ApiError def message "An unknown error occurred while trying to request data from the API." end end class ConnectionError < ApiError def message "An unknown connection error occurred while trying to connect to the API." end end class DomainOccupiedError < ApiError def message "The domain is occupied." end end end
Version data entries
8 entries across 8 versions & 1 rubygems