When I used this back in the day, it was frustrating that the exceptions thrown by BookShelf would be a mismatch of:
ValidationErrors, BookShelf errors, database specific errors.
It might be a comment on the JavaScript ecosystem but trying to collate all these myriad of exceptions into a single result to show my user was frustrating.
It might be a comment on the JavaScript ecosystem but trying to collate all these myriad of exceptions into a single result to show my user was frustrating.