Skip to content

Commit

Permalink
Merge branch 'tim/errors' into 'master'
Browse files Browse the repository at this point in the history
fix: export missing Conflict error type

See merge request TankerHQ/sdk-react-native!114
  • Loading branch information
tux3 committed Jul 30, 2024
2 parents 51da319 + 3448819 commit 1605cce
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 1605cce

Please sign in to comment.