Package web5.sdk.dids
Enum ResolutionError
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum ResolutionError extends Enum<ResolutionError>
Represents a DID resolution error as described in https://w3c-ccg.github.io/did-resolution/#errors.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringvalueprivate final Stringnameprivate final Integerordinalprivate final EnumEntries<ResolutionError>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description METHOD_NOT_SUPPORTEDNOT_FOUNDINVALID_DIDINVALID_PUBLIC_KEYINTERNAL_ERROR
-
Method Summary
Modifier and Type Method Description final ResolutionErrorvalueOf(String value)Returns the enum constant of this type with the specified name. final Array<ResolutionError>values()Returns an array containing the constants of this enum type, in the order they're declared. final StringgetValue()final EnumEntries<ResolutionError>getEntries()Represents a DID resolution error as described in https://w3c-ccg.github.io/did-resolution/#errors. -
-
Method Detail
-
valueOf
final ResolutionError valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<ResolutionError> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getEntries
final EnumEntries<ResolutionError> getEntries()
Represents a DID resolution error as described in https://w3c-ccg.github.io/did-resolution/#errors.
-
-
-
-