public final class LogsQueryError extends Object
Constructor and Description |
---|
LogsQueryError(String message,
String code,
List<LogsQueryErrorDetail> errors)
Creates an instance of
LogsQueryError with the failure code and target. |
Modifier and Type | Method and Description |
---|---|
String |
getCode()
Returns the error code indicating the reason for the error
|
List<LogsQueryErrorDetail> |
getErrors()
Returns the list of additional error details.
|
String |
getMessage()
Returns the error message.
|
public LogsQueryError(String message, String code, List<LogsQueryErrorDetail> errors)
LogsQueryError
with the failure code and target.message
- The error message.code
- The error code indicating the reason for the error.errors
- The list of additional error details.public String getMessage()
public String getCode()
public List<LogsQueryErrorDetail> getErrors()
Copyright © 2021. All rights reserved.