pub trait SerializableEventError {
// Required method
fn variant(&self) -> (&'static str, &Schema<'_>, &dyn SerializableStruct);
}Expand description
Names the active variant of a generated event stream error enum.
Implemented by generated code; the returned name is the original Smithy member name of the
error in the stream union, which becomes the frame’s :exception-type.