Sha256: 13da31629f7ea7d3c66607830b5aa88dd519f2b36aa4b96568f9743b3ae33e75

Contents?: true

Size: 624 Bytes

Versions: 9

Compression:

Stored size: 624 Bytes

Contents

module Celluloid
  # Base class of all Celluloid errors
  Error = Class.new(StandardError)

  # Don't do Actor-like things outside Actor scope
  NotActorError = Class.new(Celluloid::Error)

  # Trying to do something to a dead actor
  DeadActorError = Class.new(Celluloid::Error)

  # A timeout occured before the given request could complete
  TimeoutError = Class.new(Celluloid::Error)

  # The sender made an error, not the current actor
  class AbortError < Celluloid::Error
    attr_reader :cause

    def initialize(cause)
      @cause = cause
      super "caused by #{cause.inspect}: #{cause.to_s}"
    end
  end
end

Version data entries

9 entries across 7 versions & 4 rubygems

Version Path
honeybadger-2.4.0 vendor/gems/ruby/1.9.1/gems/celluloid-0.16.0/lib/celluloid/exceptions.rb
honeybadger-2.4.0 vendor/gems/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/exceptions.rb
honeybadger-2.4.0 vendor/gems/ruby/2.1.0/gems/celluloid-0.16.0/lib/celluloid/exceptions.rb
scoot-0.0.4 .bundle/gems/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/exceptions.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/celluloid-0.16.0/lib/celluloid/exceptions.rb
celluloid-0.16.0 lib/celluloid/exceptions.rb
celluloid-0.16.0.pre3 lib/celluloid/exceptions.rb
celluloid-0.16.0.pre2 lib/celluloid/exceptions.rb
celluloid-0.16.0.pre lib/celluloid/exceptions.rb