Interface Result<T>

A request result wrapper object.

Type Parameters

  • T

Hierarchy

  • Result

Properties

code?: string

A code, such as an error condition identifier.

data?: T

Result data.

errors?: ErrorDetail[]

Error details, such as input validation failures.

message?: string

A message, such as an error message.

success: boolean

Flag indicating if the request was successfully processed.

Generated using TypeDoc