ErrorExitException.code constructor

ErrorExitException.code(
  1. int code, [
  2. String? reason
])

Creates an ErrorExitException with a specific exit code.

Implementation

ErrorExitException.code(super.code, [this.reason])
  : nestedException = null,
    nestedStackTrace = null;