- TRANSPORT, RPC, PROTOCOL, APPLICATION;
+ TRANSPORT("transport"),
+ RPC("rpc"),
+ PROTOCOL("protocol"),
+ APPLICATION("application");
+
+ private final String typeValue;
+
+ ErrorType(String typeValue) {
+ this.typeValue = Preconditions.checkNotNull(typeValue);
+ }