WebView.Error is a module for return codes of library functions that don't return a reference. The library function return value can be matched to test for errors.
For example:
if WebView.bind(~c'f', & &1) == WebView.Errors.duplicate do
IO.inspect ("Error: javascript function already registered.")
end