diff options
author | Sam Scott <sam@osohq.com> | 2022-03-05 21:19:28 -0600 |
---|---|---|
committer | Sam Scott <sam@osohq.com> | 2022-03-05 21:25:17 -0600 |
commit | 4bd3699faba3f00dd8f59a358605abb6e485deb9 (patch) | |
tree | 3570c30f8e8f6cd4a1aa1e9b7ec1bf2330c9d33a /src/error.rs | |
parent | 58c1832578a103498b0120469b7a5d84833ad1b5 (diff) |
Add error message hint for strict mode.
Diffstat (limited to 'src/error.rs')
-rw-r--r-- | src/error.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/error.rs b/src/error.rs index e303abf..9634643 100644 --- a/src/error.rs +++ b/src/error.rs @@ -10,7 +10,7 @@ use std::string; #[derive(thiserror::Error, Debug)] pub enum Error { /// Custom string-based error - #[error("failed with reason: {0}")] + #[error("{0}")] Custom(String), /// Parse error at a specified position in the query string |