export declare function hasOwnErrorCode(error: unknown, code: string): boolean;