duckling/exe
Steven Troxler 0efbfe5988 Give a usable error if we fail to parse reftime parameter
Summary:
My attention was brought to this issue by the linter complaining about `read`.

The linter is just as happy with `error`, but I do think it's better to fail
with a usable error message here than with whatever error `read` gives us.

Reviewed By: chessai

Differential Revision: D28213406

fbshipit-source-id: f101d0515ee64978480bdbb873ff72d80d124969
2021-05-07 06:20:03 -07:00
..
Duckling Initialise Catalan language with Numeral 2021-04-08 14:47:02 -07:00
CustomDimensionExample.hs Remove dependency on Data.Some (#533) 2020-09-28 01:33:01 -07:00
DucklingExpensive.hs Remove dependency on Data.Some (#533) 2020-09-28 01:33:01 -07:00
DucklingRequestSample.hs Remove dependency on Data.Some (#533) 2020-09-28 01:33:01 -07:00
ExampleMain.hs Give a usable error if we fail to parse reftime parameter 2021-05-07 06:20:03 -07:00
RegenMain.hs Relicense to BSD3 2019-05-22 10:46:39 -07:00