Scratch for Java

ExtensionContext::onLearnerError()

Browser availability: desktop-only.

This API requires the desktop runtime. Browser declarations may report the limitation without performing the operation.

A learner exception stopped the game. Game thread.

Syntax

Java

.onLearnerError(hook)

Parameters

Name Data Type Description
hook Consumer<LearnerError>

Return

void

onLearnerError()

Create Shareable URL

Select Sections