/* Code generated by Azure.Iot.Operations.ProtocolCompilerLib v0.10.0.0; DO NOT EDIT. */

use std::error::Error;
use std::fmt;

use super::akri_service_error::AkriServiceError;

impl fmt::Display for AkriServiceError {
    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
        write!(f, "{}", self.message)
    }
}

impl Error for AkriServiceError {
    fn source(&self) -> Option<&(dyn Error + 'static)> {
        None
    }
}
