Severity

@Serializable
enum Severity : Enum<Exception.Severity>

Severity levels for FriendlyException

Entries

Link copied to clipboard

The cause is known and expected, indicates that there is nothing wrong with the library itself.

Link copied to clipboard

The cause might not be exactly known, but is possibly caused by outside factors. For example when an outside service responds in a format that we do not expect.

Link copied to clipboard

If the probable cause is an issue with the library or when there is no way to tell what the cause might be. This is the default level and other levels are used in cases where the thrower has more in-depth knowledge about the error.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

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.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.