fn from_external_error(input: I, _kind: ErrorKind, _e: E) -> Self {
        CustomError {
            input,
            end: None,
            error: "".to_owned(),
        }
    }
Create a new error from an input position and an external error
csml_interpreter/src/error_format/data.rs