@gitbook/api 0.33.0 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/GitBookAPIError.d.ts +4 -0
- package/dist/client.d.ts +578 -68
- package/dist/index.cjs +108 -3
- package/dist/index.js +106 -3
- package/package.json +1 -1
- package/spec/openapi.json +1753 -217
- package/spec/openapi.yaml +1099 -104
|
@@ -14,5 +14,9 @@ export declare class GitBookAPIError extends Error {
|
|
|
14
14
|
* The HTTP status code of the response.
|
|
15
15
|
*/
|
|
16
16
|
readonly code: number;
|
|
17
|
+
/**
|
|
18
|
+
* Original error message from the API.
|
|
19
|
+
*/
|
|
20
|
+
readonly errorMessage: string;
|
|
17
21
|
constructor(errorMessage: string, response: Response);
|
|
18
22
|
}
|