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