diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-09-26 09:59:39 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-09-26 17:54:28 +0300 |
commit | 7a9c629cd851d24002529aa721addd3c20a0bf95 (patch) | |
tree | 88b51fd1c6713c25c43822a8974c2ad68448202e /src/error.rs | |
parent | d987595f007a4d081beb1e5740868051f5d4b56c (diff) | |
download | subplot-7a9c629cd851d24002529aa721addd3c20a0bf95.tar.gz |
add: simple word pattern kinds
Diffstat (limited to 'src/error.rs')
-rw-r--r-- | src/error.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs index 451ff54..5ae5439 100644 --- a/src/error.rs +++ b/src/error.rs @@ -14,6 +14,10 @@ pub enum SubplotError { #[error("functions file could not be found: {0}: {1}")] FunctionsFileNotFound(PathBuf, anyhow::Error), + /// The simple pattern specifies a kind that is unknown. + #[error("simple pattern kind {0} is unknown")] + UnknownSimplePatternKind(String), + /// The simple pattern contains a stray { or }. #[error("simple pattern contains a stray {{ or }}")] StrayBraceInSimplePattern(String), |