Class SentryException
Sentry Exception interface
Inherited Members
Namespace: Sentry.Protocol
Assembly: Sentry.Protocol.dll
Syntax
[DataContract]
public class SentryException
Properties
| Improve this Doc View SourceData
Arbitrary extra data that related to this error
Declaration
public IDictionary<string, object> Data { get; }
Property Value
| Type | Description |
|---|---|
| IDictionary<String, Object> |
Remarks
The protocol does not yet support data at this level. For this reason this property is not serialized. The data is moved to the event level on Extra until such support is added
Mechanism
An optional mechanism that created this exception.
Declaration
[DataMember(Name = "mechanism", EmitDefaultValue = false)]
public Mechanism Mechanism { get; set; }
Property Value
| Type | Description |
|---|---|
| Mechanism |
Module
The optional module, or package which the exception type lives in
Declaration
[DataMember(Name = "module", EmitDefaultValue = false)]
public string Module { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
Stacktrace
Stack trace
Declaration
[DataMember(Name = "stacktrace", EmitDefaultValue = false)]
public SentryStackTrace Stacktrace { get; set; }
Property Value
| Type | Description |
|---|---|
| SentryStackTrace |
ThreadId
An optional value which refers to a thread in the threads interface.
Declaration
[DataMember(Name = "thread_id", EmitDefaultValue = false)]
public int ThreadId { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
See Also
| Improve this Doc View SourceType
Exception Type
Declaration
[DataMember(Name = "type", EmitDefaultValue = false)]
public string Type { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
Value
The exception value
Declaration
[DataMember(Name = "value", EmitDefaultValue = false)]
public string Value { get; set; }
Property Value
| Type | Description |
|---|---|
| String |