ServiceException<T> constructor

const ServiceException<T>(
  1. T failure, {
  2. Object? cause,
  3. StackTrace? trace,
})

Create an exception.

Implementation

const ServiceException(this.failure, {this.cause, this.trace});