ResponseEntity<T>.withError constructor
ResponseEntity<T>.withError (
- String message
Implementation
factory ResponseEntity.withError(String message) {
return ResponseEntity(
false,
response: null,
message: message,
errors: null,
);
}