@buildplease/webkit 1.0.2 → 1.0.3
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/src/index.d.cts +17 -11
- package/dist/src/index.d.ts +17 -11
- package/package.json +1 -1
package/dist/src/index.d.cts
CHANGED
|
@@ -405,28 +405,34 @@ declare class HttpRequestInterceptorPipeline {
|
|
|
405
405
|
//#endregion
|
|
406
406
|
//#region src/networking/http-error.d.ts
|
|
407
407
|
interface HttpErrorOptions {
|
|
408
|
-
/** HTTP status code
|
|
408
|
+
/** HTTP status code. */
|
|
409
409
|
readonly statusCode: number;
|
|
410
|
-
/** Machine-readable error code for programmatic handling. */
|
|
411
|
-
readonly code: string;
|
|
412
|
-
/** Human-readable error description. */
|
|
413
|
-
readonly message: string;
|
|
414
410
|
/**
|
|
415
|
-
*
|
|
416
|
-
*
|
|
411
|
+
* Error code.
|
|
417
412
|
* @default undefined
|
|
413
|
+
* @example "not_found"
|
|
418
414
|
*/
|
|
419
|
-
readonly
|
|
415
|
+
readonly code?: string;
|
|
420
416
|
/**
|
|
421
|
-
*
|
|
422
|
-
*
|
|
417
|
+
* Error message.
|
|
418
|
+
* @default undefined
|
|
419
|
+
* @example "Not found"
|
|
420
|
+
*/
|
|
421
|
+
readonly message?: string;
|
|
422
|
+
/**
|
|
423
|
+
* Error details.
|
|
424
|
+
* @default undefined
|
|
425
|
+
*/
|
|
426
|
+
readonly details?: unknown;
|
|
427
|
+
/**
|
|
428
|
+
* Original error.
|
|
423
429
|
* @default undefined
|
|
424
430
|
*/
|
|
425
431
|
readonly cause?: unknown;
|
|
426
432
|
}
|
|
427
433
|
declare class HttpError extends Error {
|
|
428
434
|
readonly statusCode: HttpErrorOptions['statusCode'];
|
|
429
|
-
readonly code
|
|
435
|
+
readonly code?: HttpErrorOptions['code'];
|
|
430
436
|
readonly details?: HttpErrorOptions['details'];
|
|
431
437
|
constructor(options: HttpErrorOptions);
|
|
432
438
|
}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -405,28 +405,34 @@ declare class HttpRequestInterceptorPipeline {
|
|
|
405
405
|
//#endregion
|
|
406
406
|
//#region src/networking/http-error.d.ts
|
|
407
407
|
interface HttpErrorOptions {
|
|
408
|
-
/** HTTP status code
|
|
408
|
+
/** HTTP status code. */
|
|
409
409
|
readonly statusCode: number;
|
|
410
|
-
/** Machine-readable error code for programmatic handling. */
|
|
411
|
-
readonly code: string;
|
|
412
|
-
/** Human-readable error description. */
|
|
413
|
-
readonly message: string;
|
|
414
410
|
/**
|
|
415
|
-
*
|
|
416
|
-
*
|
|
411
|
+
* Error code.
|
|
417
412
|
* @default undefined
|
|
413
|
+
* @example "not_found"
|
|
418
414
|
*/
|
|
419
|
-
readonly
|
|
415
|
+
readonly code?: string;
|
|
420
416
|
/**
|
|
421
|
-
*
|
|
422
|
-
*
|
|
417
|
+
* Error message.
|
|
418
|
+
* @default undefined
|
|
419
|
+
* @example "Not found"
|
|
420
|
+
*/
|
|
421
|
+
readonly message?: string;
|
|
422
|
+
/**
|
|
423
|
+
* Error details.
|
|
424
|
+
* @default undefined
|
|
425
|
+
*/
|
|
426
|
+
readonly details?: unknown;
|
|
427
|
+
/**
|
|
428
|
+
* Original error.
|
|
423
429
|
* @default undefined
|
|
424
430
|
*/
|
|
425
431
|
readonly cause?: unknown;
|
|
426
432
|
}
|
|
427
433
|
declare class HttpError extends Error {
|
|
428
434
|
readonly statusCode: HttpErrorOptions['statusCode'];
|
|
429
|
-
readonly code
|
|
435
|
+
readonly code?: HttpErrorOptions['code'];
|
|
430
436
|
readonly details?: HttpErrorOptions['details'];
|
|
431
437
|
constructor(options: HttpErrorOptions);
|
|
432
438
|
}
|