From 34488194bfae9bbaec2c56b19de0d919596bee95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Isnard?= Date: Tue, 30 Jul 2024 15:17:02 +0200 Subject: [PATCH] fix: export missing Conflict error type --- src/errors.ts | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/errors.ts b/src/errors.ts index f57457f..a41da5d 100644 --- a/src/errors.ts +++ b/src/errors.ts @@ -1,18 +1,18 @@ import { - InvalidArgument, - InternalError, - NetworkError, - PreconditionFailed, - OperationCanceled, + Conflict, DecryptionFailed, + ExpiredVerification, GroupTooBig, + InternalError, + InvalidArgument, InvalidVerification, + NetworkError, + OperationCanceled, + PreconditionFailed, + TankerError, TooManyAttempts, - ExpiredVerification, - Conflict, UpgradeRequired, IdentityAlreadyAttached, - TankerError, } from '@tanker/errors'; export type Err = { err: Object }; @@ -20,6 +20,7 @@ export type Ok = { ok: T }; export type Result = Ok | Err; export const errors = { + Conflict, DecryptionFailed, ExpiredVerification, GroupTooBig,