API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

C

classInputBindingError

@codexo/exojs / input / stable

Raised when serialized binding data cannot be read: a profile whose shape or version this build does not understand, a binding whose kind does not match the action it is applied to, or a token no control carries. Rebindings are persisted by the game and come back as untrusted input, so this is the one input failure a caller acts on at runtime rather than fixes in source: catch it, discard the saved profile, fall back to the declared defaults. Programmer errors - an action claimed by two maps, a reserved action name, a malformed pattern string written in code - stay a plain `Error` so a `catch` around a profile load does not swallow them.

4
props
0
methods
0
events
Import
import { InputBindingError } from '@codexo/exojs'

Raised when serialized binding data cannot be read: a profile whose shape or version this build does not understand, a binding whose kind does not match the action it is applied to, or a token no control carries.

Rebindings are persisted by the game and come back as untrusted input, so this is the one input failure a caller acts on at runtime rather than fixes in source: catch it, discard the saved profile, fall back to the declared defaults. Programmer errors - an action claimed by two maps, a reserved action name, a malformed pattern string written in code - stay a plain `Error` so a `catch` around a profile load does not swallow them.

Constructors1
new(message: string): InputBindingError
Properties4
cause?: unknown
message: string
name: string
stack?: string
Source