exception from class fcf.Exception
Property: exception
Type:
Class:
Package: fcf-framework-core
File: fcf.js
Available from version: 2.0.2
The object of the error that caused the object to be instantiated
Example: Applying a property
fcf.addException("TEST_EXCEPTION", "Test exception: @{{value}}@");
let originError = new Error("Some error");
let error = new fcf.Exception("TEST_EXCEPTION", {value: 1}, originError);
console.log("Suberror:", error.exception);
Output:
Suberror: Some error
VPSDime is an industry leading VPS hosting company that provides virtualized server services with high performance, availability and friendly support.