1//! Provides `Exception` trait. 2use crate::execution_class::ExecutionClass; 3 4/// Exception processing trait. 5pub trait Exception { 6 /// Extract exception info and return it as a `ExecutionClass` struct. 7 fn parse_exception(stream: &str) -> Option<ExecutionClass>; 8}