Class TppEngineError
java.lang.Object
io.getlime.core.rest.model.base.entity.Error
io.getlime.security.powerauth.app.tppengine.model.entity.TppEngineError
public class TppEngineError
extends io.getlime.core.rest.model.base.entity.Error
Error model, used to represent error responses.
- Author:
- Petr Dvorak, petr@wultra.com
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classTppEngineError.CodeResponse codes for different authentication failures.Nested classes/interfaces inherited from class io.getlime.core.rest.model.base.entity.Error
io.getlime.core.rest.model.base.entity.Error.Message -
Constructor Summary
Constructors Constructor Description TppEngineError()Default constructor.TppEngineError(String code, String message)Constructor accepting code and message. -
Method Summary
Methods inherited from class io.getlime.core.rest.model.base.entity.Error
getCode, getMessage, setCode, setMessage
-
Constructor Details
-
TppEngineError
public TppEngineError()Default constructor. -
TppEngineError
Constructor accepting code and message.- Parameters:
code- Error code.message- Error message.
-
-
Method Details
-
setCauses
Set the causes of this error.- Parameters:
causes- Array of causes for the error.
-
getCauses
Get the array of causes for this error.- Returns:
- Array of causes for the error.
-