StandardErrorCodeRange

StandardErrorCodeRange is an ErrorCodeRange that specifies standard errors that can occur during the regular function of Avail.

Author

Richard Arriaga

Properties

Link copied to clipboard
open val maxCode: Int

The maximum allowed value for an ErrorCode in this ErrorCodeRange.

Link copied to clipboard
open val minCode: Int

The minimum allowed value for an ErrorCode in this ErrorCodeRange.

Link copied to clipboard
open override val name: String

The name of this ErrorCodeRange.

Link copied to clipboard
open override val range: IntRange

The IntRange that represents the valid range of ErrorCodes.

Functions

Link copied to clipboard
open override fun errorCode(code: Int): ErrorCode

Answer the ErrorCode for the given ErrorCode.code.