django-vue3-admin-web/node_modules/aws-crt/dist/native/error.d.ts
2025-10-20 21:21:14 +08:00

18 lines
665 B
TypeScript

import { ICrtError } from "../common/error";
export { ICrtError } from "../common/error";
/**
* Represents an error encountered in native code. Can also be used to convert a numeric error code into
* a human-readable string.
*
* @category System
*/
export declare class CrtError extends Error implements ICrtError {
readonly error: any;
/** The original integer error code from the CRT */
readonly error_code?: number;
/** The translated error name (e.g. AWS_ERROR_UNKNOWN) */
readonly error_name?: string;
/** @var error - The original error. Most often an error_code, but possibly some other context */
constructor(error: any);
}