summaryrefslogtreecommitdiff
path: root/src/error.rs
diff options
context:
space:
mode:
authorSam Scott <sam@osohq.com>2022-03-05 21:19:28 -0600
committerSam Scott <sam@osohq.com>2022-03-05 21:25:17 -0600
commit4bd3699faba3f00dd8f59a358605abb6e485deb9 (patch)
tree3570c30f8e8f6cd4a1aa1e9b7ec1bf2330c9d33a /src/error.rs
parent58c1832578a103498b0120469b7a5d84833ad1b5 (diff)
Add error message hint for strict mode.
Diffstat (limited to 'src/error.rs')
-rw-r--r--src/error.rs2
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