debian-mirror-gitlab/debian/gems-compat/jwt-2.1.0/lib/jwt/error.rb

17 lines
568 B
Ruby
Raw Normal View History

2019-03-15 21:16:06 +05:30
# frozen_string_literal: true
module JWT
class EncodeError < StandardError; end
class DecodeError < StandardError; end
class VerificationError < DecodeError; end
class ExpiredSignature < DecodeError; end
class IncorrectAlgorithm < DecodeError; end
class ImmatureSignature < DecodeError; end
class InvalidIssuerError < DecodeError; end
class InvalidIatError < DecodeError; end
class InvalidAudError < DecodeError; end
class InvalidSubError < DecodeError; end
class InvalidJtiError < DecodeError; end
class InvalidPayload < DecodeError; end
end