throwOnError method
Throws an exception if the error code indicates an error.
Implementation
void throwOnError() {
errorCode.throwOnError();
}
Throws an exception if the error code indicates an error.
void throwOnError() {
errorCode.throwOnError();
}