Utilities library
All functions that are not related to a specific logic and that can be reused across modules
- Source:
Members
(static) logAndReject
Log an error and reject it again
- Source:
(static) logAndResolve
Log an error and resolve it again
- Source:
(static) sendBack
Mutate response
- Source:
Methods
(static) getModulePath(relativePath) → {String}
Compute a module absolute path from its root based path
Parameters:
| Name | Type | Description |
|---|---|---|
relativePath |
String | Module relative path from project root |
- Source:
Returns:
Module absolute path
- Type
- String
(static) getUniqueId() → {String}
Generate a unique Id (Temporary)
- Source:
Returns:
Unique id
- Type
- String