pub fn expand_error(
    input: DeriveInput,
    attr_from_udl_mode: Option<ErrorAttr>,
    udl_mode: bool
) -> Result<TokenStream>