about summary refs log tree commit diff
path: root/src/API.hs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-08-01T10·46+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-08-01T10·46+0100
commita3732300e1c4dfa14a7ba9d7367ebbef914d8398 (patch)
tree4590cd0112d8f0e41c472e9bfa294a8eb6da6207 /src/API.hs
parent9666d5dce152f996c7dd2167e0b1a9c2f9f767b0 (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