Skip to content

UnsupportedValueError

UnsupportedValueError(
    message: str, *, path: str = "", reason: str = ""
)

Bases: ggrust.errors.SpecError, builtins.TypeError

Raised when a spec holds a value of a type the engine cannot receive.

Parameters:

  • message (str) –

    The full message, including the location.

  • path (str, default: "" ) –

    Spec path of the value.

  • reason (str, default: "" ) –

    What was wrong, without the location.