Sha256: 89d2443b69b6ac502480f2fb90fac9cdcdd706eda6eae512998aef6344cd6c00

Contents?: true

Size: 370 Bytes

Versions: 1

Compression:

Stored size: 370 Bytes

Contents

##
# A special error as containers of errors inside [Promise]
# @attr [StandardError] raw_exception raw execption raised
class PromiseException < StandardError
  attr_reader :raw_exception

  # Init PromiseException
  # @param [StandardError] raw_exception raw execption raised
  def initialize(raw_exception)
    super(nil)
    @raw_exception = raw_exception
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
em-midori-0.1.8 lib/midori/core_ext/promise_exception.rb