withErrors

abstract fun withErrors(errors: ErrorCollector): Loader

Returns a new loader that reports failures to errors.