Sha256: d24909bb8e3c7544b96f875930e56c6c7204ab56575943cdde04b6f5b1daeac1

Contents?: true

Size: 235 Bytes

Versions: 3

Compression:

Stored size: 235 Bytes

Contents

# frozen_string_literal: true

module HenshinBelt
  module Errors
    class InvalidScope < StandardError
      def initialize(msg = 'Invalid scope')
        @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/invalid_scope.rb
henshin-belt-0.0.2 lib/henshin_belt/errors/invalid_scope.rb
henshin-belt-0.0.1 lib/henshin_belt/errors/invalid_scope.rb