@ThriftStruct public final class ErrorCode extends Object
| Constructor and Description |
|---|
ErrorCode(int code,
String name,
ErrorType type) |
ErrorCode(int code,
String name,
ErrorType type,
boolean retriable) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getCode() |
String |
getName() |
ErrorType |
getType() |
int |
hashCode() |
boolean |
isRetriable() |
String |
toString() |
@ThriftConstructor
public ErrorCode(int code,
String name,
ErrorType type,
boolean retriable)
Copyright © 2012–2022. All rights reserved.