@metamask/kernel-errors
Version:
9 lines • 299 B
text/typescript
import type { MarshaledError } from "../types.cjs";
/**
* Marshals an error into a {@link MarshaledError}.
*
* @param error - The error to marshal.
* @returns The marshaled error.
*/
export declare function marshalError(error: Error): MarshaledError;
//# sourceMappingURL=marshalError.d.cts.map