EvalCapExceededError
Thrown when one evalInObsidian closure ran longer than the transport’s per-eval cap.
Carries the cap and the transport so a caller can instanceof-match, and the original transport error as cause.
Import:
import { EvalCapExceededError } from 'obsidian-integration-testing';Signature:
export class EvalCapExceededError extends ErrorExtends: Error
Constructor
new EvalCapExceededError(params: EvalCapExceededErrorConstructorParams)Creates the error from the cap, the transport, and the raw error it replaces.
Properties
| Property | Type | Description |
|---|---|---|
| capInMilliseconds | number | The per-eval cap the closure outran, in milliseconds. |
| transportName | string | How the transport that enforced the cap was named in the message. |
Links to this page: