Skip to main content
Deno 2 is finally here 🎉️
Learn more
import * as stoneSoup from "https://deno.land/x/stone_soup@v8.0.0/src/util/errors.ts";

Classes

A pub won't accept writes

Generic top-level error class that other Earthstar errors inherit from.

A pub URL is bad or the network is down

A QueryFollower was used after close() was called on it.

An IStorageAsync or IStorageDriverAsync was used after close() was called on it.

Validation failed on a document, workspace address, author address, etc.

Variables

Check if any value is a subclass of EarthstarError (return true) or not (return false)

Check if any value is a subclass of EarthstarError (return false) or not (return true)