method
catch_rotation_error
v8.1.1 -
Show latest stable
- Class:
ActiveSupport::Messages::Rotator
catch_rotation_error(&block)private
No documentation available.
# File activesupport/lib/active_support/messages/rotator.rb, line 58
def catch_rotation_error(&block)
error = catch :invalid_message_format do
error = catch :invalid_message_serialization do
return [nil, block.call]
end
return [:invalid_message_serialization, error]
end
[:invalid_message_format, error]
end