You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The idea is to allow user to replace something like the following code:
exportclassUserNotFoundErrorextendsPythianError{constructor(properties?: Record<string,any>){super("UserNotFoundError","No user found","USER_NOT_FOUND",properties);}}
With a custom definition like below using a library like apollo-errors:
exportconstUserNotFoundError=createError('UserNotFoundError',{message: "No user found"});
Not sure how to implement this suggestion greatly welcomed.
The text was updated successfully, but these errors were encountered:
The idea is to allow user to replace something like the following code:
With a custom definition like below using a library like apollo-errors:
Not sure how to implement this suggestion greatly welcomed.
The text was updated successfully, but these errors were encountered: