Class: LogStruct::ErrorHandlingMode

Inherits:
T::Enum
  • Object
show all
Defined in:
lib/log_struct/enums/error_handling_mode.rb

Overview

Enum for error handling modes

Constant Summary collapse

Ignore =

Always ignore the error

new(:ignore)
Log =

Always log the error

new(:log)
Report =

Always report to tracking service and continue

new(:report)
LogProduction =

Log in production, raise locally (dev/test)

new(:log_production)
ReportProduction =

Report in production, raise locally (dev/test)

new(:report_production)
Raise =

Always raise regardless of environment

new(:raise)