класс DRb::DRbRemoteError
Исключение, оборачивающее объект ошибки
Атрибуты
reason[R]
класс ошибки, как строка.
Открытые методы класса
# File lib/drb/drb.rb, line 434
def initialize(error)
@reason = error.class.to_s
super("#{error.message} (#{error.class})")
set_backtrace(error.backtrace)
end Создает новую ошибку удаленного вызова, которая оборачивает Exception error
Вызывает метод суперкласса
Exception::new
Ruby Core © 1993–2022 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.