ServerError constructor

const ServerError({
  1. required String message,
  2. StackTrace? stackTrace,
  3. int? statusCode,
})

Base class for all errors in the app.

Implementation

const ServerError({
  required super.message,
  super.stackTrace,
  this.statusCode,
});