- Add GETTING_STARTED.md with quick start guide and development modes - Add INSTALL.sh automated installation script - Add INSTALLATION_CHECKLIST.md, INSTALLATION_SUCCESS.md, and INSTALLATION_SUMMARY.md - Add QUICK_REFERENCE.md for common commands - Add SETUP_GUIDE.md with detailed setup instructions - Update README.md with improved project overview - Add did-wallet app dependencies and node_modules
17 lines
486 B
TypeScript
17 lines
486 B
TypeScript
export = createError;
|
|
/**
|
|
*
|
|
* @param {any} err - An Error
|
|
* @param {string|Extensions} code - A string code or props to set on the error
|
|
* @param {Extensions} [props] - Props to set on the error
|
|
* @returns {Error & Extensions}
|
|
*/
|
|
declare function createError(err: any, code: string | Extensions, props?: Extensions | undefined): Error & Extensions;
|
|
declare namespace createError {
|
|
export { Extensions, Err };
|
|
}
|
|
type Extensions = {
|
|
[key: string]: any;
|
|
};
|
|
type Err = Error;
|