Preparing search index...

    Singleton that handles error message logic and state management

    Index

    Constructors

    Properties

    getInstance: () => ErrorMessageController

    Methods

    • Hide all currently visible errors (alias for hideErrors)

      Returns void

    • Hide all currently visible error messages

      Returns void

    • Check if a specific error is currently visible

      Parameters

      Returns boolean

    • Show an error message

      Parameters

      • errorType: ErrorType

        The type of error to show

      • OptionalparentObject: SceneObject

        Optional parent object to attach the error to. If null, appears in front of user

      • Optionaltimeout: number

        Optional timeout in seconds. If null or undefined, shows indefinitely

      Returns void