diff options
author | William Carroll <wpcarro@gmail.com> | 2020-08-01T10·46+0100 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-08-01T10·46+0100 |
commit | a3732300e1c4dfa14a7ba9d7367ebbef914d8398 (patch) | |
tree | 4590cd0112d8f0e41c472e9bfa294a8eb6da6207 /src/API.hs | |
parent | 9666d5dce152f996c7dd2167e0b1a9c2f9f767b0 (diff) |
Add exhaustive patterns to FromJSON Role instance
When someone enters something like role=mgr, return a helpful error message to the user. Note: I should enable the exhaustive patterns check for GHC.
Diffstat (limited to 'src/API.hs')
0 files changed, 0 insertions, 0 deletions