Utils.ErrorsSourceError formatting and helper functions
The payload of the expression is a main error message, with a list of secondary positions related to the error, each carrying an optional secondary message to describe what is pointed by the position.
val raise_spanned_error :
?span_msg:string ->
Pos.t ->
('a, Format.formatter, unit, 'b) format4 ->
'aval raise_multispanned_error :
(string option * Pos.t) list ->
('a, Format.formatter, unit, 'b) format4 ->
'aval format_multispanned_warning :
(string option * Pos.t) list ->
('a, Format.formatter, unit) format ->
'aval format_spanned_warning :
?span_msg:string ->
Pos.t ->
('a, Format.formatter, unit) format ->
'a