@bit-ui-libs/common
Version:
This library was generated with [Nx](https://nx.dev).
12 lines (10 loc) • 305 B
text/typescript
/*
This interface should match your API's response object for unsuccessful responses.
The intention of this interface is for your API calls to all either
use this interface or extend from this interface.
*/
export interface BaseError {
message: string;
error?: string;
statusCode: number;
}