| Class | NewRelic::NoticedError |
| In: |
lib/new_relic/noticed_error.rb
|
| Parent: | Object |
This class encapsulates an error that was noticed by New Relic in a managed app.
| STRIPPED_EXCEPTION_REPLACEMENT_MESSAGE | = | "Message removed by New Relic 'strip_exception_messages' setting" |
| USER_ATTRIBUTES | = | "userAttributes".freeze |
| AGENT_ATTRIBUTES | = | "agentAttributes".freeze |
| INTRINSIC_ATTRIBUTES | = | "intrinsics".freeze |
| EMPTY_HASH | = | {}.freeze |
| DESTINATION | = | NewRelic::Agent::AttributeFilter::DST_ERROR_COLLECTOR |
| attributes | [RW] | |
| attributes_from_notice_error | [RW] | |
| exception_class_name | [RW] | |
| exception_id | [R] | |
| file_name | [RW] | |
| is_internal | [R] | |
| line_number | [RW] | |
| message | [RW] | |
| path | [RW] | |
| request_port | [RW] | |
| request_uri | [RW] | |
| stack_trace | [RW] | |
| timestamp | [RW] |
@exception_class has been deprecated in favor of the more descriptive @exception_class_name. @deprecated
We can get custom attributes from two sources—the transaction, which we hold in @attributes, or passed options to notice_error which show up in @attributes_from_notice_error. Both need filtering, so merge them together in our Attributes class for consistent handling