Test_error.Error_accumulator
val equal_contextualized_errors :
'error. ( 'error -> 'error -> Core_kernel__.Import.bool ) ->
'error contextualized_errors ->
'error contextualized_errors ->
bool
val sexp_of_contextualized_errors :
'error. ( 'error -> Ppx_sexp_conv_lib.Sexp.t ) ->
'error contextualized_errors ->
Ppx_sexp_conv_lib.Sexp.t
val compare_contextualized_errors :
'error. ( 'error -> 'error -> Core_kernel__.Import.int ) ->
'error contextualized_errors ->
'error contextualized_errors ->
Core_kernel__.Import.int
type 'error t = {
from_current_context : 'error list; |
contextualized_errors : 'error contextualized_errors Core.String.Map.t; |
}
val sexp_of_t :
'error. ( 'error -> Ppx_sexp_conv_lib.Sexp.t ) ->
'error t ->
Ppx_sexp_conv_lib.Sexp.t
val empty_contextualized_errors : unit -> 'a contextualized_errors
val empty : 'a t
val is_empty : 'a t -> bool
val record_errors :
'a contextualized_errors Core.String.Map.t ->
Core.String.Map.Key.t ->
'b list ->
time_of_error:( 'c -> Core.Time.Map.Key.t ) ->
'a contextualized_errors Core.String.Map.t
val error_count : 'a t -> int
val all_errors : 'a t -> 'b Base__List.t
val contextualize :
Core.String.Map.Key.t ->
internal_error t ->
internal_error t
val singleton : 'a -> 'b t
val of_context_free_list : 'a list -> 'b t
val of_contextualized_list' :
Core.String.Map.Key.t ->
'a list ->
time_of_error:( 'a -> Core.Time.Map.Key.t ) ->
'b t
val of_contextualized_list :
Core.String.Map.Key.t ->
internal_error list ->
internal_error t
val iter_contexts :
'a t ->
f:( Core.String.Map.Key.t -> 'b list -> unit ) ->
unit