Health (record)
API
Health.java
record Health {
Health ok()
Health error(Throwable throwable)
Health error(String message)
boolean isOk()
String getMessage() (1)
Throwable getCause() (2)
boolean getResult() (3)
}
1 | getMessage()
use #message() instead |
2 | getCause()
use #cause() instead |
3 | getResult()
use #isOk() instead |