ServerException constructor

const ServerException({
  1. required String message,
  2. int? code = 500,
  3. StackTrace? stackTrace,
})

Exception thrown when a server error occurs.

Implementation

const ServerException({
  required super.message,
  super.code = 500,
  super.stackTrace,
});