Sha256: ce636ac65dceb7ecf77b14284b3932811cd8002069e3eb96508972b9b9cf9b2e

Contents?: true

Size: 386 Bytes

Versions: 1

Compression:

Stored size: 386 Bytes

Contents

module Khalti
  module Errors
    class KhaltiError < RuntimeError
      attr_reader :data
      def initialize(data)
        @data = data
        super
      end
    end

    class BlankError < RuntimeError
    end

    class InvalidAmountError < RuntimeError
    end

    class InvalidTokenError < RuntimeError
    end

    class InvalidResponseError < RuntimeError
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
khalti-0.1.5 lib/khalti/errors.rb