Skip to content
This repository has been archived by the owner on Aug 27, 2023. It is now read-only.

Distinguishable Exception #15

Closed
ledmonster opened this issue Sep 16, 2014 · 1 comment
Closed

Distinguishable Exception #15

ledmonster opened this issue Sep 16, 2014 · 1 comment

Comments

@ledmonster
Copy link

Because Query.one() raises same type of exception for different errors, it's difficult to handle exception on application side. It'll be nice to have custom exceptions like "EntityNotFound".

@stevearc
Copy link
Owner

Good idea! I'll see if I can get to that this weekend.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants