Severity
enum Severity : Enum<RoomioError.Severity>
How serious an error is.
Entries
| RECOVERABLE | RECOVERABLE The scan continues. No action is needed. |
| FATAL | FATAL The scan has stopped. Close the session; start a new scan if isRetryable. |
Properties
| Name | Summary |
|---|---|
| entries | val entries: EnumEntries<RoomioError.Severity> Returns a representation of an immutable list of all enum entries, in the order they're declared. |
Functions
| Name | Summary |
|---|---|
| valueOf | fun valueOf(value: String): RoomioError.Severity 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 | fun values(): Array<RoomioError.Severity> Returns an array containing the constants of this enum type, in the order they're declared. |
FATAL
The scan has stopped. Close the session; start a new scan if isRetryable.
RECOVERABLE
The scan continues. No action is needed.
entries
val entries: EnumEntries<RoomioError.Severity>
Returns a representation of an immutable list of all enum entries, in the order they're declared.
This method may be used to iterate over the enum entries.
valueOf
fun valueOf(value: String): RoomioError.Severity
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.)
Throws
| IllegalArgumentException | if this enum type has no constant with the specified name |
values
fun values(): Array<RoomioError.Severity>
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.