oxilean_parse/error_impl/errorcode_traits.rs
1//! # ErrorCode - Trait Implementations
2//!
3//! This module contains trait implementations for `ErrorCode`.
4//!
5//! ## Implemented Traits
6//!
7//! - `Display`
8//!
9//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)
10
11use super::types::ErrorCode;
12
13impl std::fmt::Display for ErrorCode {
14 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
15 write!(f, "{}", self.format())
16 }
17}