Module: ConvenientService::Service::Plugins::CanHaveFormattedExceptions Private
- Defined in:
- lib/convenient_service/service/plugins/can_have_formatted_exceptions.rb,
lib/convenient_service/service/plugins/can_have_formatted_exceptions/constants.rb,
lib/convenient_service/service/plugins/can_have_formatted_exceptions/commands/format_line.rb,
lib/convenient_service/service/plugins/can_have_formatted_exceptions/commands/format_cause.rb,
lib/convenient_service/service/plugins/can_have_formatted_exceptions/commands/format_class.rb,
lib/convenient_service/service/plugins/can_have_formatted_exceptions/commands/format_message.rb,
lib/convenient_service/service/plugins/can_have_formatted_exceptions/commands/format_backtrace.rb,
lib/convenient_service/service/plugins/can_have_formatted_exceptions/commands/format_exception.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Defined Under Namespace
Class Method Summary collapse
- .default_max_backtrace_size ⇒ Integer private
- .format_exception(exception, **kwargs) ⇒ String private
Class Method Details
.default_max_backtrace_size ⇒ Integer
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
19 20 21 |
# File 'lib/convenient_service/service/plugins/can_have_formatted_exceptions.rb', line 19 def default_max_backtrace_size Constants::DEFAULT_MAX_BACKTRACE_SIZE end |
.format_exception(exception, **kwargs) ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
28 29 30 |
# File 'lib/convenient_service/service/plugins/can_have_formatted_exceptions.rb', line 28 def format_exception(exception, **kwargs) Commands::FormatException.call(exception: exception, **kwargs) end |