Skip to content

Commit

Permalink
fix: reason code must be a number
Browse files Browse the repository at this point in the history
  • Loading branch information
Nebulis committed Feb 5, 2020
1 parent 61406e8 commit b06bd3b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/types/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,7 @@ export interface EthersError extends Error {
}

export interface Reason {
code:
| OpenAttestationEthereumDocumentStoreIssuedCode
| OpenAttestationEthereumDocumentStoreRevokedCode
| OpenAttestationEthereumTokenRegistryMintedCode
| OpenAttestationDnsTxtCode
| OpenAttestationHashCode;
code: number;
codeString: string;
message: string;
}

0 comments on commit b06bd3b

Please sign in to comment.