withMessage method

DartleException withMessage(
  1. String newMessage
)

Returns a copy of this Exception but with a new message.

Implementation

DartleException withMessage(String newMessage) =>
    DartleException(message: newMessage, exitCode: exitCode);