Response.toolException constructor

Response.toolException({
  1. String? ex,
})

Constructor for failure response.

Implementation

Response.toolException({String? ex})
    : _allTestsPassed = false,
      _failureDetails = <Failure>[Failure('ToolException', ex)];