Skip to main content

Interface: IResponse<T>

Base response data.

Type parameters

Name
T

Table of contents

Properties

Properties

data

data: T

The data in the response.


error

Optional error: Object

Optional error in the response.

Type declaration

NameTypeDescription
codestringThe code for the error response.
messagestringA more descriptive version of the error.