Constructor
-
new CustomerJourneyError(errorCode, reason, message)
-
Class extending JavaScript Error object.
Parameters:
Name Type Description errorCode
string reason
string message
string
Methods
-
getErrorCode() → {string}
-
Returns Error Code related with error.
Returns:
{ string }
-
getMessage() → {string}
-
Returns message related with error.
Returns:
{ string }
-
getReason() → {string}
-
Returns Error Reason related with error.
Returns:
{ string }