Skip to contents

LLMR's classed errors carry their category in the condition class (llmr_api_auth_error, llmr_api_rate_limit_error, and so on); the class is read first. A plain category field or attribute is honored as a fallback for conditions built by other tools.

Usage

condition_category(e)

Arguments

e

A condition.

Value

A length-1 character category (e.g. "auth", "rate_limit", "param", "server", "unknown"), or NA.