Libraries
    Preparing search index...

    Base error class for all errors thrown by the @cleverbrush/web client.

    Provides a common prototype chain so consumers can catch any client error with a single instanceof WebError check.

    try {
    await client.todos.list();
    } catch (err) {
    if (err instanceof WebError) {
    console.log('Client error:', err.message);
    }
    }

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Constructors

    Properties

    cause?: unknown
    message: string
    name: string
    stack?: string