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
Name | Type | Description |
---|---|---|
code | string | The code for the error response. |
message | string | A more descriptive version of the error. |