Aktueller Stand

This commit is contained in:
2026-01-22 19:05:45 +01:00
parent 85dee61a4d
commit e280e4eadb
1967 changed files with 397327 additions and 74093 deletions

View File

@@ -279,11 +279,12 @@ function populateConstructorExports (exports, codes, HttpError) {
/**
* Get a class name from a name identifier.
*
* @param {string} name
* @returns {string}
* @private
*/
function toClassName (name) {
return name.substr(-5) !== 'Error'
? name + 'Error'
: name
return name.slice(-5) === 'Error' ? name : name + 'Error'
}