Sha256: d04ccf61415c6b4f7635c6fd78172fc2ece281797fb70d6c5467676d9c51c5f3

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 exception raised
class PromiseException < StandardError
  attr_reader :raw_exception

  # Init PromiseException
  # @param [StandardError] raw_exception raw exception 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.9 lib/midori/core_ext/promise_exception.rb