feat: update error notes for wfassoc
This commit is contained in:
1 parent
1a44240f88
commit
880f90211b
8 files changed
+58
-47
No files matched your search
@@ -14,17 +14,17 @@ use wfassoc::highlevel::{Program, Schema};
|
||||
#[derive(Debug, TeError)]
|
||||
enum Error {
|
||||
/// Error when operating Schema.
|
||||
#[error("{0}")]
|
||||
#[error("wfassoc error: {0}")]
|
||||
Schema(#[from] wfassoc::highlevel::SchemaError),
|
||||
/// Error when parsing Schema into Program.
|
||||
#[error("{0}")]
|
||||
#[error("wfassoc error: {0}")]
|
||||
ParseProgram(#[from] wfassoc::highlevel::ParseProgramError),
|
||||
/// Error when operating Program.
|
||||
#[error("{0}")]
|
||||
#[error("wfassoc error: {0}")]
|
||||
Program(#[from] wfassoc::highlevel::ProgramError),
|
||||
|
||||
/// Error when manipulating with C-style string.
|
||||
#[error("C-Style string FFI error:{0}")]
|
||||
#[error("C-Style string FFI error: {0}")]
|
||||
CStrFfi(#[from] cstr_ffi::Error),
|
||||
/// Error when manipulating with object pool.
|
||||
#[error("object pool error: {0}")]
|
||||
|
||||
Reference in new issue
Block a user