Sha256: 1c0b23b11a48c95b0763ddd2660f89bf19910ee5c984b680f6676e87954d5c8e

Contents?: true

Size: 910 Bytes

Versions: 13

Compression:

Stored size: 910 Bytes

Contents

module Glueby
  module Contract
    module Errors
      class InsufficientFunds < Error; end
      class InsufficientTokens < Error; end
      class TxAlreadyBroadcasted < Error; end
      class FailedToBroadcast < Error; end

      # Argument Errors
      class ArgumentError < ArgumentError; end
      class InvalidAmount < ArgumentError; end
      class InvalidSplit < ArgumentError; end
      class InvalidTokenType < ArgumentError; end
      class InvalidTimestampType < ArgumentError; end
      class UnsupportedTokenType < ArgumentError; end
      class UnknownScriptPubkey < ArgumentError; end
      class UnsupportedDigestType < ArgumentError; end
      class PrevTimestampNotFound < ArgumentError; end
      class PrevTimestampIsNotTrackable < ArgumentError; end
      class UnnecessaryPrevTimestamp < ArgumentError; end
      class PrevTimestampAlreadyUpdated < ArgumentError; end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
glueby-1.2.3 lib/glueby/contract/errors.rb
glueby-1.2.2 lib/glueby/contract/errors.rb
glueby-1.2.1 lib/glueby/contract/errors.rb
glueby-1.2.0 lib/glueby/contract/errors.rb
glueby-1.2.0.beta.3 lib/glueby/contract/errors.rb
glueby-1.2.0.beta.2 lib/glueby/contract/errors.rb
glueby-1.2.0.beta.1 lib/glueby/contract/errors.rb
glueby-1.1.2 lib/glueby/contract/errors.rb
glueby-1.1.1 lib/glueby/contract/errors.rb
glueby-1.1.0 lib/glueby/contract/errors.rb
glueby-1.0.0 lib/glueby/contract/errors.rb
glueby-0.12.0 lib/glueby/contract/errors.rb
glueby-0.11.0 lib/glueby/contract/errors.rb