Skip to content

Commit

Permalink
fix: export missing Conflict error type
Browse files Browse the repository at this point in the history
  • Loading branch information
tux3 committed Jul 30, 2024
1 parent 51da319 commit 3448819
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions src/errors.ts
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
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 };
export type Ok<T> = { ok: T };
export type Result<T> = Ok<T> | Err;

export const errors = {
Conflict,
DecryptionFailed,
ExpiredVerification,
GroupTooBig,
Expand Down

0 comments on commit 3448819

Please sign in to comment.