View Source argo_error_value (argo v1.0.1)

Summary

Types

-type t() :: #argo_error_value{}.

Functions

Link to this function

new(Message, Location, Path, Extensions)

View Source
-spec new(Message, none | {some, Location}, none | {some, Path}, none | {some, Extensions}) ->
       ErrorValue
       when
           Message :: argo_desc_value:desc_string(),
           Location :: [argo_location_value:t()],
           Path :: argo_path_value:t(),
           Extensions :: argo_desc_value:desc_object(),
           ErrorValue :: t().
Link to this function

present_fields_count(ErrorValue)

View Source
-spec present_fields_count(ErrorValue) -> non_neg_integer() when ErrorValue :: t().