Loadability Documentation Beta

Protocol Throws​Errors

public protocol ThrowsErrors

A type that can throw errors that should be shown to the user.

%3 ThrowsErrors ThrowsErrors Loader Loader Loader->ThrowsErrors

Types Conforming to Throws​Errors

Loader

A type that can load data from a source and throw errors.

Requirements

error

var error: IdentifiableError?

An error, if one occurred. Must be annotated with a publisher property wrapper, such as @State or @Published, to work.