feat: update error notes for wfassoc
This commit is contained in:
@@ -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