use custom_error::custom_error; custom_error!{pub AutoDecryptError ConfigurationErroro{comment:String} = "{comment}", APIError{comment:String} = "{comment}", ORMError{comment:String} = "{comment}", }