Class: AvenxError

AvenxError(code, …args)

Custom Error class representing an Avenx-JS framework error. Includes structured code identifiers and formatted messages.

Constructor

new AvenxError(code, …args)

Creates an instance of AvenxError.

Parameters:
Name Type Attributes Description
code string

The AvenxErrorCode identifier.

args any <repeatable>

Arguments to format within the template message.

Source:

Extends

  • Error

Classes

AvenxError

Members

code :string

The unique framework error code.

Type:
  • string
Source:

name :string

Custom name identifier for the error.

Type:
  • string
Source: