ImqClientPlugin.error() method

Marks the span as failed. The span itself is finished by finish(), which the instrumentation always publishes.

Signature:

error(ctx: ImqCallContext): void;

Parameters

Parameter

Type

Description

ctx

ImqCallContext

call that failed; carries the error in ctx.error

Returns:

void

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.