GalileoHttpException.badRequest constructor Null safety

GalileoHttpException.badRequest(
  1. {String message = '400 Bad Request',
  2. List<String> errors = const []}
)

Throws a 400 Bad Request error, including an optional arrray of (validation?) errors you specify.

Implementation

factory GalileoHttpException.badRequest({String message = '400 Bad Request', List<String> errors = const []}) =>
    GalileoHttpException(null, message: message, errors: errors, statusCode: 400);