Sha256: 89707f80e9b9906c093d73847c26b4db14792bf2f76ec7b50a6048923df6570f

Contents?: true

Size: 235 Bytes

Versions: 3

Compression:

Stored size: 235 Bytes

Contents

# frozen_string_literal: true

module HenshinBelt
  module Errors
    class ExpiredToken < StandardError
      def initialize(msg = 'Expired token')
        @code = 401
        super
      end
      attr_reader :code
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
henshin-belt-0.0.3 lib/henshin_belt/errors/expired_token.rb
henshin-belt-0.0.2 lib/henshin_belt/errors/expired_token.rb
henshin-belt-0.0.1 lib/henshin_belt/errors/expired_token.rb