FCF 2.0 development in progress...
> > > > > >
[News] [JS Packages API] [JS Downloads] [Donate to the project] [Contacts]

name from class fcf.Exception

Property: name

Type: string

Class: fcf.Exception

Package: fcf-framework-core

File: fcf.js

Available from version: 2.0.2

Event name. The given name defines the error message template

Example: Applying a property

fcf.addException("TEST_EXCEPTION", "Test exception: @{{value}}@"); let error = new fcf.Exception("TEST_EXCEPTION", {value: 1}); console.log("Name:", error.name);

Output:

Name: TEST_EXCEPTION