Skip to main content

ToolErrorCategoryExt

Trait ToolErrorCategoryExt 

Source
pub trait ToolErrorCategoryExt {
    // Required method
    fn error_kind(self) -> ErrorKind;
}
Expand description

Extension trait adding zeph-tools-specific methods to ToolErrorCategory.

This trait exists because ToolErrorCategory is defined in zeph-common but ErrorKind is defined in zeph-tools. Callers in zeph-tools use use crate::error_taxonomy::ToolErrorCategoryExt to access these methods.

Required Methods§

Source

fn error_kind(self) -> ErrorKind

Coarse classification for backward compatibility with existing ErrorKind.

Implementors§