/**
* execute Error() based on an error id string
*
* @export
* @param {string} errorId the error id
* @param {any} [error] an actual error from an async request or something
* @returns {string} the error id
*/
export default function(errorId: string, error?: any): string;