public final class PDError extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PDError.Builder |
static class |
PDError.ErrorType |
static class |
PDError.RegionPeerNotElected |
Modifier and Type | Method and Description |
---|---|
static PDError |
buildFromPdpbError(Pdpb.Error error) |
Pdpb.Error |
getError() |
PDError.ErrorType |
getErrorType() |
String |
getMessage() |
static PDError.Builder |
newBuilder() |
static PDError.Builder |
newBuilder(Pdpb.Error error) |
String |
toString() |
public static PDError buildFromPdpbError(Pdpb.Error error)
public static PDError.Builder newBuilder()
public static PDError.Builder newBuilder(Pdpb.Error error)
public Pdpb.Error getError()
public PDError.ErrorType getErrorType()
public String getMessage()
Copyright © 2024 PingCAP. All rights reserved.