Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ErrorDescription

Serializeable error description. It is use to pass information about errors between microservices implemented in different languages. On the receiving side ErrorDescription is used to recreate exception object close to its original type without missing additional details.

see

ApplicationException

see

ApplicationExceptionFactory

Hierarchy

  • ErrorDescription

Index

Properties

category

category: string

Standard error category

cause

cause: string

Original error wrapped by this exception

code

code: string

A unique error code

correlation_id

correlation_id: string

A unique transaction id to trace execution throug call chain

details

details: any

A map with additional details that can be used to restore error description in other languages

message

message: string

A human-readable error description (usually written in English)

stack_trace

stack_trace: string

Stack trace of the exception

status

status: number

HTTP status code associated with this error type

type

type: string

Data type of the original error

Generated using TypeDoc