Skip to content

Class: EvalwrightClientError ​

Raised in your process rather than by the server: the client was constructed wrong, or a resolve call is missing a variable the prompt needs or gave one that is not a string. Retrying the same call will fail the same way.

Extends ​

  • Error

Constructors ​

Constructor ​

ts
new EvalwrightClientError(message): EvalwrightClientError;

Parameters ​

message ​

string

Returns ​

EvalwrightClientError

Overrides ​

ts
Error.constructor

Properties ​

cause? ​

ts
optional cause?: unknown;

Inherited from ​

ts
Error.cause

message ​

ts
message: string;

Inherited from ​

ts
Error.message

name ​

ts
name: string;

Inherited from ​

ts
Error.name

stack? ​

ts
optional stack?: string;

Inherited from ​

ts
Error.stack

Released under the MIT licence.