ServerException constructor

const ServerException([
  1. String? msg,
  2. int? code
])

Implementation

const ServerException([String? msg, int? code])
    : super(msg ?? 'Server error. Try later.', statusCode: code ?? 500);