@bytescale/sdk
Advanced tools
Comparing version
@@ -77,2 +77,15 @@ import { ErrorResponse } from "./models"; | ||
} | ||
/** | ||
* Thrown when the Bytescale API cannot be reached or when an error is returned that cannot be parsed as a JSON error response. | ||
*/ | ||
export declare class BytescaleGenericError extends Error { | ||
readonly response: Response; | ||
readonly responseText: string | undefined; | ||
readonly responseJson: object | undefined; | ||
name: "BytescaleGenericError"; | ||
constructor(response: Response, responseText: string | undefined, responseJson: object | undefined); | ||
} | ||
/** | ||
* Thrown when the Bytescale API returns a JSON error response. | ||
*/ | ||
export declare class BytescaleApiError extends Error { | ||
@@ -79,0 +92,0 @@ name: "BytescaleApiError"; |
{ | ||
"name": "@bytescale/sdk", | ||
"version": "3.27.0", | ||
"version": "3.28.0", | ||
"description": "Bytescale JavaScript SDK", | ||
@@ -5,0 +5,0 @@ "author": "Bytescale <hello@bytescale.com> (https://www.bytescale.com)", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1037123
0.81%21308
0.77%