Class: Staccato::Exception
- Inherits:
-
Object
- Object
- Staccato::Exception
- Includes:
- Hit
- Defined in:
- lib/staccato/exception.rb
Overview
Exception Hit type field definitions
Constant Summary collapse
- FIELDS =
Exception field definitions
{ description: 'exd', fatal: 'exf' }
Constants included from Hit
Hit::BOOLEAN_FIELDS, Hit::GLOBAL_OPTIONS
Instance Method Summary collapse
-
#boolean_fields ⇒ Array<Symbol>
Boolean fields from Hit plus exception-specific field.
-
#type ⇒ Object
exception hit type.
Methods included from Hit
#add_custom_dimension, #add_custom_metric, #add_measurement, #custom_dimensions, #custom_metrics, #fields, included, #initialize, #measurements, #params, #session_control, #track!
Methods included from BooleanHelpers
#boolean_field?, #convert_boolean, #convert_booleans, #integer_for
Instance Method Details
#boolean_fields ⇒ Array<Symbol>
Boolean fields from Hit plus exception-specific field
20 21 22 |
# File 'lib/staccato/exception.rb', line 20 def boolean_fields super + [:fatal] end |
#type ⇒ Object
exception hit type
14 15 16 |
# File 'lib/staccato/exception.rb', line 14 def type :exception end |