getValueOrException method
Implementation
T getValueOrException() {
if (errorCode == ErrorCode.success) {
return value;
}
throw AskarErrorCodeException(errorCode);
}
T getValueOrException() {
if (errorCode == ErrorCode.success) {
return value;
}
throw AskarErrorCodeException(errorCode);
}