def METHOD_NAME(text: str) -> Rcode:
    """Convert text into an rcode.
    *text*, a ``str``, the textual rcode or an integer in textual form.
    Raises ``dns.rcode.UnknownRcode`` if the rcode mnemonic is unknown.
    Returns a ``dns.rcode.Rcode``.
    """
    return Rcode.METHOD_NAME(text)