Sha256: 89a5089d8a7cec23413287849638c54055bb33a9c4a4ca216a9185b6ee2c4fe7

Contents?: true

Size: 849 Bytes

Versions: 1

Compression:

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
glueby-0.10.2 lib/glueby/contract/errors.rb