@maschinenlesbar.org/ckan-cli
    Preparing search index...

    Function describeCkanError

    • Turn a CKAN error object into one readable line. CKAN has two shapes: a message ({"__type": "Not Found Error", "message": "Not found"}), and a validation error that maps each offending field to its messages instead ({"__type": "Validation Error", "rows": ["Invalid integer"]}).

      Parameters

      • error: unknown

      Returns string