lib/bootic_client/errors.rb in bootic_client-0.0.7 vs lib/bootic_client/errors.rb in bootic_client-0.0.8

- old
+ new

@@ -1,9 +1,8 @@ module BooticClient class TransportError < StandardError; end class ServerError < TransportError; end class NotFoundError < ServerError; end - class TokenError < ServerError; end - class UnauthorizedError < TokenError; end - class AccessForbiddenError < TokenError; end - class NoAccessTokenError < TokenError; end -end \ No newline at end of file + class AuthorizationError < ServerError; end + class UnauthorizedError < AuthorizationError; end + class AccessForbiddenError < AuthorizationError; end +end