summaryrefslogtreecommitdiff
path: root/src/error.rs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-06-08 07:58:46 +0300
committerLars Wirzenius <liw@liw.fi>2020-06-08 08:06:12 +0300
commitb16749ca50ced58631e79aadf0f74152c24435de (patch)
treee8b04ec94c1ba0a05b900297dfee67c1984d74dd /src/error.rs
parent163ec445c2474698ba073333c11140be6bb4fddc (diff)
downloadsubplot-b16749ca50ced58631e79aadf0f74152c24435de.tar.gz
feat: add sp-extract for extracting data files from subplots
Diffstat (limited to 'src/error.rs')
-rw-r--r--src/error.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs
index f988c86..1f4fcc7 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -187,6 +187,10 @@ pub enum SubplotError {
#[error("template.yaml does not specify how to run generated program")]
TemplateNoRun,
+ /// An embedded file was not found.
+ #[error("emedded file {0} was not found in the subplot document")]
+ EmbeddedFileNotFound(String),
+
/// I/O error
///
/// Subplot did some I/O, and it failed. This is a generic wrapper