Package org.hawaiiframework.exception
Interface ApiError
-
public interface ApiError
Interface that defines an API error of the application. An API error is a well-defined error situation with a unique error code. An application built on Hawaii Framework might implement this using an enum.- Since:
- 2.0.0
- Author:
- Paul Klos
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getErrorCode()
Getter for the error code.String
getReason()
Get the error reason.
-