FileErrorCodeRange

A FileErrorCodeRange is an ErrorCodeRange that holds defined error codes that involve failures while handling files.

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.