def METHOD_NAME(self, script_name: str) -> ProcessModelIdentifierMissingError:
    """Return the error so we can raise it from the script and mypy will be happy."""
    return ProcessModelIdentifierMissingError(
        "The process model identifier was not given to script"
        f" '{script_name}'. This script needs to be run from"
        " within the context of a process model."
    )