src/index.js
/**
     * Gets the upper cased error with ERR_ prefix from the code. If the code already has the prefix, the code is not altered.
     * 
     * @param {string} code 
     */
Gets the upper cased error with ERR_ prefix from the code. If the code already has the prefix, the code is not altered.

@param {string} code
Gets the upper cased error with ERR_ prefix from the code . If the code already has the prefix the code is not altered . @param { string } code
_getCode(code) {
		if (typeof code !== 'string') {
			code = code.toString();
		}
		if (code.toLowerCase().indexOf('err_') === 0) {
			return code.toUpperCase();
		}
		return `ERR_${code.toUpperCase()}`;
	}
_getCode ( code ) { if ( typeof code !== 'string' ) { code = code . toString ( ) ; } if ( code . toLowerCase ( ) . indexOf ( 'err_' ) === 0 ) { return code . toUpperCase ( ) ; } return ` ${ code . toUpperCase ( ) } ` ; }
Gets the upper cased error with ERR_ prefix from the code.
Gets the upper cased error with ERR_ prefix from the code .