BadRequestException constructor

BadRequestException(
  1. {String? message,
  2. int? code}
)

Implementation

BadRequestException({String? message, int? code})
    : super(
          name: (BadRequestException).toString(),
          code: code,
          message: message);