Class ErrorDetails
- java.lang.Object
-
- org.craftercms.profile.api.exceptions.ErrorDetails
-
public class ErrorDetails extends Object
Information transmitted to the client when an error occurs.- Author:
- avasquez
-
-
Constructor Summary
Constructors Constructor Description ErrorDetails()
ErrorDetails(ErrorCode errorCode, String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorCode
getErrorCode()
String
getMessage()
void
setErrorCode(ErrorCode errorCode)
void
setMessage(String message)
-