Package ai.nightfall.scan.model
Class NightfallErrorResponse
java.lang.Object
ai.nightfall.scan.model.NightfallErrorResponse
The error model returned by Nightfall API requests that are unsuccessful. This object is generally returned
when the HTTP status code is outside the range 200-299.
-
Constructor Details
-
NightfallErrorResponse
public NightfallErrorResponse()
-
-
Method Details
-
getCode
public int getCode()Get the error code.- Returns:
- the error code returned by the API
-
getMessage
Get the error message.- Returns:
- the error message returned by the API
-
getDescription
Get the error description.- Returns:
- additional details describing the circumstance surrounding the error
-
getAdditionalData
Get supplemental error data.- Returns:
- supplemental data that may be useful in debugging the error message
-
toString
-