public class ErrorOverride<T extends DatabricksError> extends Object
| Constructor and Description |
|---|
ErrorOverride(String debugName,
String pathRegex,
String verb,
String statusCodeMatcher,
String errorCodeMatcher,
String messageMatcher,
Class<T> customError) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDebugName() |
T |
makeError(ApiErrorBody body) |
boolean |
matches(ApiErrorBody body,
Response resp) |
public boolean matches(ApiErrorBody body, Response resp)
public String getDebugName()
public T makeError(ApiErrorBody body)
Copyright © 2024. All rights reserved.