Counted evidence limitations with fixed messages safe for display.
Summary
Functions
Validates references and counts, replacing supplied text with the code's safe message.
Types
@type code() ::
:incomplete_retrieval
| :cursor_cycle
| :bound_exceeded
| :source_unavailable
| :unsupported_record
| :conflicting_duplicate
| :capture_gap
| :invalid_correlation
| :content_unavailable
| :unresolved_operation
@type t() :: %ReqManagedAgents.Evidence.Diagnostic{ code: code(), count: non_neg_integer(), message: String.t(), record_id: String.t() | nil, source_id: String.t() | nil }
Functions
@spec new(map()) :: {:ok, t()} | {:error, ReqManagedAgents.Evidence.Error.t()}
Validates references and counts, replacing supplied text with the code's safe message.