Fix the build not including all types
This commit is contained in:
parent
9f1ce626df
commit
a51528616d
24
JS-SDK/src/types/error.d.ts
vendored
Normal file
24
JS-SDK/src/types/error.d.ts
vendored
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
/**
|
||||||
|
* A response representing an error.
|
||||||
|
*/
|
||||||
|
export type RestfulMCAPIError = {
|
||||||
|
/**
|
||||||
|
* The status of this error.
|
||||||
|
*/
|
||||||
|
status: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The HTTP code of this error.
|
||||||
|
*/
|
||||||
|
code: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The message of this error.
|
||||||
|
*/
|
||||||
|
message: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The timestamp this error occurred.
|
||||||
|
*/
|
||||||
|
timestamp: string;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user