View Source argo_error_value (argo v1.0.8)
Summary
Types
-type t() :: #argo_error_value{message :: argo_desc_value:desc_string(), locations :: none | {some, [argo_location_value:t()]}, path :: none | {some, argo_path_value:t()}, extensions :: none | {some, argo_extensions_value:t()}}.
Functions
-spec new(Message, none | {some, Locations}, none | {some, Path}, none | {some, Extensions}) -> ErrorValue when Message :: argo_desc_value:desc_string(), Locations :: [argo_location_value:t()], Path :: argo_path_value:t(), Extensions :: argo_extensions_value:t(), ErrorValue :: t().
-spec present_fields_count(ErrorValue) -> non_neg_integer() when ErrorValue :: t().