• error.type — a low-cardinality identifier, per the convention.

    Never the error message: that is free-form and may carry user data.

    Parameters

    • span: Span
    • error: string | Error

    Returns void