Returns contained ok if result is and throws error if result is not ok.
ok
error
Generated using TypeDoc
Returns contained
ok
if result is and throwserror
if result is not ok.