Checks on the list of active catalogs that a format, parser or prompt works with.
Summary
Functions
Returns {:ok, catalogs} when the list is non-empty, its catalog ids
are distinct and every catalog targets the same protocol version.
Otherwise a :catalog error.
The canonical protocol version ("v1.0", "v0.9.1", …) a catalog
targets.
Functions
@spec check(term()) :: {:ok, [A2UICore.Catalog.t()]} | {:error, A2UICore.Error.t()}
Returns {:ok, catalogs} when the list is non-empty, its catalog ids
are distinct and every catalog targets the same protocol version.
Otherwise a :catalog error.
@spec protocol_version(A2UICore.Catalog.t()) :: String.t()
The canonical protocol version ("v1.0", "v0.9.1", …) a catalog
targets.