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

    Function assertValid

    • Return value when problem finds nothing wrong with it; otherwise throw a HaushaltValidationError Invalid <name>: <reason>. Inside an async method the throw becomes a rejected promise, before any request is sent.

      Type Parameters

      • T

      Parameters

      Returns T