/* Code generated by Azure.Iot.Operations.ProtocolCompilerLib v1.0.0.0; DO NOT EDIT. */

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

use super::thing_model_extension_error::ThingModelExtensionError;

impl fmt::Display for ThingModelExtensionError {
    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
        write!(f, "The action could not be completed")
    }
}

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