lib/celluloid/exceptions.rb in celluloid-0.18.0.pre vs lib/celluloid/exceptions.rb in celluloid-0.18.0.pre2

- old
+ new

@@ -1,16 +1,16 @@ module Celluloid class Error < StandardError; end - class Interruption < Exception; end + class Interruption < RuntimeError; end class TimedOut < Celluloid::Interruption; end # Distinguished from `Timeout` class StillActive < Celluloid::Error; end class NotActive < Celluloid::Error; end class NotActorError < Celluloid::Error; end # Don't do Actor-like things outside Actor scope class DeadActorError < Celluloid::Error; end # Trying to do something to a dead actor class NotTaskError < Celluloid::Error; end # Asked to do task-related things outside a task class DeadTaskError < Celluloid::Error; end # Trying to resume a dead task class TaskTerminated < Celluloid::Interruption; end # Kill a running task after terminate - class TaskTimeout < Celluloid::TimedOut; end # A timeout occured before the given request could complete + class TaskTimeout < Celluloid::TimedOut; end # A timeout occurred before the given request could complete class ConditionError < Celluloid::Error; end class AbortError < Celluloid::Error # The sender made an error, not the current actor attr_reader :cause def initialize(cause) @cause = cause