Skip to content

Commit

Permalink
chore: update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Adwin Ronald Ross committed Aug 26, 2024
1 parent 4ba0a0b commit 07b50d4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/api/sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ Events can contain the following attributes, some of which are mandatory.
| `network_type` | string | No | One of<br/>- wifi<br/>- cellular<br/>- vpn<br/>- unknown<br/>- no_network |
| `network_provider` | string | No | Example: airtel, T-mobile or "unknown" if unavailable. |
| `network_generation` | string | No | One of:<br/>- 2g<br/>- 3g<br/>- 4g<br/>- 5g<br/>- unknown |
| `cpu_arch` | string | No | The CPU architecture, eg. arm64 |

### Attachments

Expand Down Expand Up @@ -400,22 +401,22 @@ Use the `exception` type for errors and crashes.

`exception` objects

Each exception object contains further fields.
Each exception object contains the thread information of the crashed thread and its stackframes along with the metadata required for symbolication.

| Field | Type | Optional | Comment |
| -------------------------- | ------- | -------- | ------------------------------ |
| `type` | string | No | Type of the exception |
| `message` | string | No | Error message text |
| `type` | string | Yes | Type of the exception |
| `message` | string | Yes | Error message text |
| `frames` | array | Yes | Array of stackframe objects |
| `signal` | string | Yes | BSD termination signal |
| `thread-name` | string | Yes | Name of thread |
| `thread-sequence` | Int | Yes | Thread number |
| `operatingSystemBuild` | string | Yes | Operating system build number |
| `cpuArch` | string | Yes | The CPU architecture |
| `thread_name` | string | Yes | Name of thread |
| `thread_sequence` | Int | Yes | Thread number |
| `operating_system_build` | string | Yes | Operating system build number |

`thread` objects

Each thread object contains further fields.
Note: Only non-crashed threads are to be send in threads object

| Field | Type | Optional | Comment |
| ---------- | ------ | -------- | --------------------------- |
Expand All @@ -439,7 +440,6 @@ Each frame object contains further fields.
| `symbol_address` | string | Yes | Address to symbolicate |
| `offset` | string | Yes | Byte offset |
| `binary_address` | string | Yes | Binary load address |
| `frame_index` | Int | Yes | The stack frame number |

#### **`string`**

Expand Down

0 comments on commit 07b50d4

Please sign in to comment.