/usr/lib/ruby/vendor_ruby/celluloid/exceptions.rb is in ruby-celluloid 0.16.0-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | 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
|