src/common/error/error.intf.ts
Represents an error.
Properties |
|
| correlationId |
correlationId:
|
Type : string
|
| Optional |
|
The correlation id (useful for tracking purposes) |
| message |
message:
|
Type : string
|
| Optional |
|
The message describing the error |
| name |
name:
|
Type : string
|
| Optional |
|
The name of this error. |
| stack |
stack:
|
Type : string
|
| Optional |
|
The stack trace |
| timestamp |
timestamp:
|
Type : string
|
| Optional |
|
The timestamp |
export interface StarkError {
/**
* The message describing the error
*/
message?: string;
/**
* The name of this error.
*/
name?: string;
/**
* The stack trace
*/
stack?: string;
/**
* The correlation id (useful for tracking purposes)
*/
correlationId?: string;
/**
* The timestamp
*/
timestamp?: string;
}