Sign in
chromium
/
external
/
github.com
/
WebAssembly
/
spec
/
refs/heads/nested-actions
/
.
/
interpreter
/
util
/
error.ml
blob: ed1d218bcdcdfa83c270cba8cfeb776caad5f9da [
file
] [
log
] [
blame
] [
edit
]
module
Make
()
=
struct
exception
Error
of
Source
.
region
*
string
let
warn at m
=
prerr_endline
(
Source
.
string_of_region at
^
": warning: "
^
m
)
let
error at m
=
raise
(
Error
(
at
,
m
))
end