Sha256: 3ebd36bb4875438a2a5539296e35158b5860360056ba96c08b589931cb6e9b6a

Contents?: true

Size: 548 Bytes

Versions: 43

Compression:

Stored size: 548 Bytes

Contents

# typed: true

module Setsuzoku
  module Exception
    class InvalidAuthCredentials < StandardError
      def initialize(msg='The authentication credentials for this request are invalid.')
        super(msg)
      end
    end

    class UndefinedRequiredMethod < StandardError
      def initialize(registering_instance:, plugin_class:, method_name:)
        msg = "#{registering_instance.name} attempted to register #{plugin_class.name} but did not define the required instance method: #{method_name}"
        super(msg)
      end
    end
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
setsuzoku-0.15.7 lib/setsuzoku/exception.rb
setsuzoku-0.15.6 lib/setsuzoku/exception.rb
setsuzoku-0.15.5 lib/setsuzoku/exception.rb
setsuzoku-0.15.4 lib/setsuzoku/exception.rb
setsuzoku-0.15.3 lib/setsuzoku/exception.rb
setsuzoku-0.15.2 lib/setsuzoku/exception.rb
setsuzoku-0.15.1 lib/setsuzoku/exception.rb
setsuzoku-0.15.0 lib/setsuzoku/exception.rb
setsuzoku-0.14.9 lib/setsuzoku/exception.rb
setsuzoku-0.14.8 lib/setsuzoku/exception.rb
setsuzoku-0.14.7 lib/setsuzoku/exception.rb
setsuzoku-0.14.6 lib/setsuzoku/exception.rb
setsuzoku-0.14.5 lib/setsuzoku/exception.rb
setsuzoku-0.14.4 lib/setsuzoku/exception.rb
setsuzoku-0.14.3 lib/setsuzoku/exception.rb
setsuzoku-0.14.2 lib/setsuzoku/exception.rb
setsuzoku-0.14.1 lib/setsuzoku/exception.rb
setsuzoku-0.14.0 lib/setsuzoku/exception.rb
setsuzoku-0.13.1 lib/setsuzoku/exception.rb
setsuzoku-0.13.0 lib/setsuzoku/exception.rb