UNPKG

@metamask/kernel-errors

Version:
9 lines 340 B
import { BaseError } from "../BaseError.cjs"; /** * Type guard to check if an error is a custom Ocap error (BaseError). * * @param error - The error to check. * @returns `true` if the error is an instance of BaseError. */ export declare function isOcapError(error: Error): error is BaseError; //# sourceMappingURL=isOcapError.d.cts.map