Libraries v5.0.0
    Preparing search index...

    Base error class for all errors thrown by the @cleverbrush/client 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
    cause?: unknown
    message: string
    name: string
    stack?: string