Library referenceTypes
AppErrorBody
type AppErrorBody = {
error: {
code: AppErrorCode;
message: string;
};
};the error body of the app api; branch on code, message is for people and can change
Properties
| Property | Type |
|---|---|
error | { code: AppErrorCode; message: string; } |
error.code | AppErrorCode |
error.message | string |