@cityjson/flatcitybuf
    Preparing search index...

    Class FcbError

    Every error this package raises. Catch this one type and switch on FcbError.code -- no reader path throws a bare Error, a TypeError from a transport, or a Node ENOENT; those are all wrapped.

    Hierarchy

    • Error
      • FcbError
    Index
    code: ErrorCode

    Which category of failure this is. message is always prefixed with the code's own text, so a logged message stays self-describing.