ReadError

sealed class ReadError : Error

Errors occurring while reading a resource.

Inheritors

Types

Link copied to clipboard
class Access(val cause: AccessError) : ReadError

An error occurred while trying to access the content.

Link copied to clipboard
class Decoding(cause: Error) : ReadError

Content doesn't match what was expected and cannot be interpreted.

Link copied to clipboard

Content could not be successfully read because there is not enough memory available.

Link copied to clipboard

An operation could not be performed at some point.

Properties

Link copied to clipboard
open override val cause: Error

The cause error or null if there is none.

Link copied to clipboard
open override val message: String

An error message.

Functions

Link copied to clipboard

Convenience function to get the description of an error with its cause.