Sha256: b47bf9bfcf42806199f867182c17a698a760589e1eb247948bed8faa97496457
Contents?: true
Size: 287 Bytes
Versions: 29
Compression:
Stored size: 287 Bytes
Contents
module Asynchronic class Error attr_reader :message attr_reader :backtrace def initialize(source) @message = source.respond_to?(:message) ? source.message : source.to_s @backtrace = source.respond_to?(:backtrace) ? source.backtrace : [] end end end
Version data entries
29 entries across 29 versions & 1 rubygems