unsafeUnwrap method

T unsafeUnwrap({
  1. ErrorConfig? config,
})

This method is unsafe, and should only be used in a test environments

Takes a Result<T, E> and returns a T when the result is an Ok, otherwise it throws a custom object.

@param config

Implementation

T unsafeUnwrap({ErrorConfig? config}) => throw UnimplementedError();