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

    Function assertValid

    • Throw CkanValidationError("Invalid <name>: <reason>") when problem finds something wrong with value; otherwise return value unchanged. A method that returns a promise calls this inside its async body, so a bad input rejects rather than throwing synchronously.

      Type Parameters

      • T

      Parameters

      Returns T