Package-level declarations

Contains types used to represent errors and warnings within the SDK.

Types

Link copied to clipboard
interface DeficiencyCode

Represents a deficiency code that a Player, Source or Offline deficiency can be associated with. The possible deficiency codes are ErrorCode and WarningCode.

Link copied to clipboard

Represents an error code that a Player, Source or Offline error can be associated with. All possible error codes are split up into PlayerErrorCode, SourceErrorCode and OfflineErrorCode related errors.

Link copied to clipboard
interface ErrorEvent

The common supertype implemented by all different error events that are emitted by the Player or Source.

Link copied to clipboard
@Serializable(with = OfflineErrorCodeSerializer::class)
enum OfflineErrorCode : Enum<OfflineErrorCode> , ErrorCode

3000 - 3999: Offline-related error codes

Link copied to clipboard
@Serializable(with = OfflineWarningCodeSerializer::class)
enum OfflineWarningCode : Enum<OfflineWarningCode> , WarningCode

3000 - 3999: Offline-related warning codes

Link copied to clipboard
@Serializable(with = PlayerErrorCodeSerializer::class)
enum PlayerErrorCode : Enum<PlayerErrorCode> , ErrorCode

1000 - 1999: Player-related error codes

Link copied to clipboard
@Serializable(with = PlayerWarningCodeSerializer::class)
enum PlayerWarningCode : Enum<PlayerWarningCode> , WarningCode

1000 - 1999: Player-related warning codes

Link copied to clipboard
@Serializable(with = SourceErrorCodeSerializer::class)
enum SourceErrorCode : Enum<SourceErrorCode> , ErrorCode

2000 - 2999: Source-related error codes

Link copied to clipboard
@Serializable(with = SourceWarningCodeSerializer::class)
enum SourceWarningCode : Enum<SourceWarningCode> , WarningCode

2000 - 2999: Source-related warning codes

Link copied to clipboard

Represents a warning code that a Player, Source or Offline warning can be associated with. All possible warning codes are split up into PlayerWarningCode, SourceWarningCode and OfflineWarningCode related warnings.

Link copied to clipboard
interface WarningEvent

The common supertype implemented by all different warning events that are emitted by the Player or Source.