Package codes.thischwa.cf.model
Class ResponseResultInfo.Error
java.lang.Object
codes.thischwa.cf.model.ResponseResultInfo.Error
- Enclosing class:
- ResponseResultInfo
Represents an error with a specific code and message.
This class is used to encapsulate error information, including a numerical error code and a corresponding descriptive message. It is often used as part of a collection of errors to provide detailed diagnostics for failed operations or processes.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Error
public Error()Constructs a new instance of theErrorclass with default values for its properties.This no-argument constructor initializes an
Errorobject without setting specific values for the error code or message. It is primarily used when an error needs to be created and set up later, or when default values are acceptable. -
Error
Constructs an instance of theErrorclass with a specified error code and message.- Parameters:
code- the numerical code representing the errormessage- the descriptive message providing details about the error
-
-
Method Details