NeonN
Neon2y ago
3 replies
improved-purple

Is the `DatabaseError` class from `@

Is the DatabaseError class from @neondatabase/serverless the same as PostgresError from the postgres package? Reason I'm asking is because I'm implementing errorhandling, and I want to type narrow the error type that is thrown when violating something like unique constraints forexample
Was this page helpful?