Skip to content

Commit

Permalink
chore: add extra Nip47TimeoutError class
Browse files Browse the repository at this point in the history
  • Loading branch information
rolznz committed Mar 6, 2024
1 parent e832092 commit 1161162
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/NWCClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,10 @@ export class Nip47Error extends Error {
* A NIP-47 response was received, but with an error code (see https://github.com/nostr-protocol/nips/blob/master/47.md#error-codes)
*/
export class Nip47WalletError extends Nip47Error {}
export class Nip47PublishTimeoutError extends Nip47Error {}
export class Nip47ReplyTimeoutError extends Nip47Error {}

export class Nip47TimeoutError extends Nip47Error {}
export class Nip47PublishTimeoutError extends Nip47TimeoutError {}
export class Nip47ReplyTimeoutError extends Nip47TimeoutError {}
export class Nip47PublishError extends Nip47Error {}
export class Nip47ResponseDecodingError extends Nip47Error {}
export class Nip47ResponseValidationError extends Nip47Error {}
Expand Down

0 comments on commit 1161162

Please sign in to comment.