spiegel-keyman/web/docs/engine/reference/keyboard_registration_errors.md
Marc Durdin 6c145cb775 refactor(web): move web engine help to app repo
Note: build.sh updated to make sure that test:help build action:target
doesn't also call test.sh by adding `:_all` meta-target.

Note: CI will need a new help-keyman-com.sh build step to deploy web
engine help.

Fixes: #12347
2024-10-31 11:00:06 +07:00

894 B

title
Keyboard Registration Errors

If KeymanWeb has an error while adding/registering a keyboard, the ErrorStub object containing the following members is returned:

keyboard

object optional

Information on the keyboard

language

object optional

Information on the language associated with the keyboard

error

Error

Javascript error that occurred during keyboard registration


The ErrorStub.keyboard object contains the following members:

id

string

ID (internal name) of keyboard

name

string

Name of the keyboard


The ErrorStub.language object contains the following members:

id

string

BCP 47 code for supported keyboard language. If a keyboard supports multiple languages, an array of ErrorStubs is returned.

name

string

Name of the language