123456789_123456789_123456789_123456789_123456789_

Exception: ActiveRecord::ConnectionAdapters::RactorConnectionHandler::Proxy::RemoteError

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, ::ActiveRecord::ActiveRecordError, StandardError
Instance Chain:
self, ::ActiveRecord::ActiveRecordError, StandardError
Inherits: ActiveRecord::ActiveRecordError
Defined in: activerecord/lib/active_record/connection_adapters/ractor_connection_handler/proxy.rb

Overview

The main-side exception behind an error raised on the calling side

Class Method Summary

Instance Attribute Summary

Constructor Details

.new(error_class = nil, message = nil) ⇒ RemoteError

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/ractor_connection_handler/proxy.rb', line 15

def initialize(error_class = nil, message = nil)
  @error_class = error_class
  super(message)
end

Instance Attribute Details

#error_class (readonly)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/ractor_connection_handler/proxy.rb', line 13

attr_reader :error_class