File

src/common/error/error.intf.ts

Description

Represents an error.

Index

Properties

Properties

correlationId
correlationId: string
Type : string
Optional

The correlation id (useful for tracking purposes)

message
message: string
Type : string
Optional

The message describing the error

name
name: string
Type : string
Optional

The name of this error.

stack
stack: string
Type : string
Optional

The stack trace

timestamp
timestamp: string
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;
}

results matching ""

    No results matching ""