-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,6 +106,10 @@ export class EBayIAFTokenExpired extends EbayApiError { | |
public static readonly code = 21917053; | ||
} | ||
|
||
export class EBayAuthTokenIsHardExpired extends EbayApiError { | ||
public static readonly code = 932; | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
dantio
Author
Collaborator
|
||
} | ||
|
||
export class EBayIAFTokenInvalid extends EbayApiError { | ||
public static readonly code = 21916984; | ||
} | ||
|
@@ -211,6 +215,8 @@ export const checkEBayResponse = (data: any) => { | |
throw new EBayIAFTokenInvalid(data); | ||
case EBayTokenRequired.code: | ||
throw new EBayTokenRequired(data); | ||
case EBayAuthTokenIsHardExpired.code: | ||
This comment has been minimized.
Sorry, something went wrong.
dantio
Author
Collaborator
|
||
throw new EBayAuthTokenIsHardExpired(data); | ||
} | ||
} | ||
|
||
|
Out of curiosity, where did you find this code?