lib/sportradar/api/error.rb in sportradar-api-0.1.1 vs lib/sportradar/api/error.rb in sportradar-api-0.1.2
- old
+ new
@@ -2,14 +2,14 @@
module Api
class Error
class AuthenticationError < StandardError; end
class NoApiKey < AuthenticationError; end
class InvalidResponseFormat < TypeError; end
+ class InvalidAccessLevel < StandardError; end
class InvalidLeague < StandardError; end
class InvalidSeason < StandardError; end
class InvalidSport < StandardError; end
- class InvalidAccessLevel < StandardError; end
- class InvalidSeason < StandardError; end
+ class InvalidType < StandardError; end
class Timeout < Timeout::Error ; end
class NoData < EOFError; end
attr_reader :message, :status_code, :status