UNPKG

@bit-ui-libs/common

Version:
12 lines (10 loc) 305 B
/* 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; }