You are viewing docs for an older version of Rescript.Go to latest version.
let make: string => t
Creates a new TypeError with the provided message.
TypeError
message
See TypeError on MDN.