Become a member
Sign in
Feathers application and error hooks
135
2
David Luecke
Christos Dimitroulas
Christos Dimitroulas
Jul 28, 2017 · 1 min read

Hey daffl,

In the code snippet under Error hooks there is a dummy function called ‘isDuplicateKeyError’.

Are there any helper functions for checking the error types from particular ORMs or do we need to create the checks for these manually?

    Christos Dimitroulas

    Written by

    Christos Dimitroulas

    See responses (1)

    Discover Medium

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

    Make Medium yours

    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

    Become a member

    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade
    AboutHelpLegal