Fix the build not including all types

This commit is contained in:
Braydon 2024-04-15 10:32:44 -04:00
parent 9f1ce626df
commit a51528616d

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;
}