errorBy method

  1. @protected
int errorBy(
  1. RunException exception
)

Returns error code by exception.

Implementation

@protected
int errorBy(RunException exception) {
  return error(exception.exitCode, message: exception.message);
}