Helper function for extracting the value from a compiled result { Ok: T } or throw the error if { Err: E }
The compiled result to extract from.
The extracted value from the compiled result.
The error from the compiled result.
Helper function for extracting the value from a compiled result { Ok: T } or throw the error if { Err: E }