Sha256: 97ae2a1b8743c9760d52c5b7595aa49a2fe17519b31ec46536802dd1337f7adf

Contents?: true

Size: 791 Bytes

Versions: 2

Compression:

Stored size: 791 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
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
glueby-0.10.1 lib/glueby/contract/errors.rb
glueby-0.10.0 lib/glueby/contract/errors.rb