#[non_exhaustive]pub enum SectionWorkflowError {
Decode {
detail: String,
},
SectionOutOfRange {
requested: usize,
sections: usize,
},
SectionIndexMismatch {
requested: usize,
actual: usize,
},
PreservingPatch(HwpxError),
}Expand description
Domain error for shared section export/patch workflows.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Decode
Base HWPX could not be decoded well enough to proceed.
SectionOutOfRange
Requested section index is outside the document range.
Fields
SectionIndexMismatch
Requested CLI/MCP section does not match the JSON payload section.
Fields
PreservingPatch(HwpxError)
Preserve-first patch failed after orchestration-level validation.
Trait Implementations§
Source§impl Debug for SectionWorkflowError
impl Debug for SectionWorkflowError
Source§impl Display for SectionWorkflowError
impl Display for SectionWorkflowError
Source§impl Error for SectionWorkflowError
impl Error for SectionWorkflowError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for SectionWorkflowError
impl !RefUnwindSafe for SectionWorkflowError
impl Send for SectionWorkflowError
impl Sync for SectionWorkflowError
impl Unpin for SectionWorkflowError
impl UnsafeUnpin for SectionWorkflowError
impl !UnwindSafe for SectionWorkflowError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more