Skip to main content

InterfaceError

talawa-apiDocs


talawa-api / libraries/errors/applicationError / InterfaceError

Interface: InterfaceError

Interface representing the structure of an error.

Properties

code

> code: null | string

The error code, can be null

Defined in

src/libraries/errors/applicationError.ts:8


message

> message: string

The error message

Defined in

src/libraries/errors/applicationError.ts:6


metadata?

> optional metadata: Record<string, string>

Optional additional metadata associated with the error

Defined in

src/libraries/errors/applicationError.ts:12


param

> param: null | string

The parameter associated with the error, can be null

Defined in

src/libraries/errors/applicationError.ts:10