{"_id":"@devtea2028/accusamus-minima-molestias-dolor","name":"@devtea2028/accusamus-minima-molestias-dolor","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@devtea2028/accusamus-minima-molestias-dolor","version":"1.0.0","description":" ","main":"index.js","author":{"name":"accingneff7"},"license":"MIT","dependencies":{"@devtea2028/reimagined-octo-fortnight":"^1.0.3","@libphamton/chatfanpage":"1.0.5","@libphamton/fb-group":"1.0.3","@npmtuanmap/ex-vel-expedita-impedit":"1.0.2","@npmtuanmap/psychic-guide":"2.0.0","@npmtuanmap/recusandae-recusandae-nam-et":"1.0.2","@npmtuanmap/sed-quo-nemo-rerum":"1.0.2","@npmtuanmap/velit-esse-velit-magnam":"1.0.2"},"keywords":["readablestream","tools","efficient","deterministic","TypedArray","Float64Array","higher-order","cache","chrome","chinese","waf","negative","request","console","matchAll","Array.prototype.flatten","reduce","cors","ECMAScript 2018","last","Symbol","option","sort","deep-clone","ECMAScript 2023","glacier","Array.prototype.flatMap","prune","lesscss","traverse","rmdir","storagegateway","watch","defineProperty","Array.prototype.findLast","has","names","check","input","events","visual","classes","shebang","entries","symbol","-0","Push","tc39","workspace:*","moment","URL","pipe","sameValueZero","dependency manager","computed-types","symlink","fast-deep-copy","array","sigterm","internal slot","String.prototype.matchAll","byte","Uint32Array","error-handling","resolve","config","agent","dynamodb","tdd","superagent","rapid","async","stdlib","fast","zero","typedarrays","up","validate","ascii","Symbol.toStringTag","serialization","serializer","break","fastcopy","less compiler","chai","callbind","bdd","readable","merge","compiler","accessibility","postcss-plugin","typeerror","immer","debug","querystring","[[Prototype]]","ratelimit","spinners","fastify","text","matches","URLSearchParams","https","global","import","arraybuffer","mapreduce","tostringtag","simpledb","rest","flux","optimist","tty","deepcopy","argparse","concatMap","dependencies","installer","trimEnd","format","sns","findLastIndex","Iterator","real-time","ava","Float32Array","styled-components","robust","rfc4122","dotenv","warning","setImmediate","Int16Array","query","package manager","date","RFC-6455","datastructure","apollo","browser","trim","schema","argv","chromium","password","mru","duplex","api","classnames","colour","performance","minimal","fast-clone","css nesting","bundler","windows","optimizer","es2018","ender","elb","negative zero","Function.prototype.name","eslint","es","__proto__","Observables","ArrayBuffer","cloudwatch","banner","emoji","watcher","equal","toSorted","description","forms","uuid","buffer","trimStart","runtime","ECMAScript 2015","contains","performant","regular expressions","uninstall","WebSockets","extra","from","mkdirs","is","cloudtrail","east-asian-width","callback","ECMAScript 2017","electron","gradients css3","terminal","channel","drop","inspect","quote","mixins","safe","endpoint","typed","descriptor","dom","ES2017","awesomesauce","ajv","protocol-buffers","findLast","stable","column","tester","JSON-Schema","typescript","eventEmitter","length","mime-db","s3","positive","file","ES2021","picomatch","rm","error","look-up","descriptors","random","rm -fr","Rx","styles","hasOwn","ArrayBuffer.prototype.slice","which","Int32Array","AsyncIterator","every","setter","regex","flag","lockfile","bootstrap css","jsonpath","exec","Uint8Array","get","ECMAScript 3","logging","byteLength","ES2019","write","accessor","has-own","Reflect.getPrototypeOf","patch","nested css","circular","assertion","preprocessor","glob","values","trimRight","WeakMap","byteOffset","call-bind","es8","structuredClone","yaml","Promise","ES2018","estree","limited","includes","rds","once","ES2022","utility","browserlist","name","ponyfill","swf","dataview","offset","regular expression","Object.fromEntries","function","Object.entries","toolkit","match","shrinkwrap","predictable","writable","eslintconfig","generics","sham","validation","HyBi","typedarray","rate","color","groupBy","hardlinks","es2015","slot","concurrency","middleware","css-in-js","require","util.inspect","parser","getter","delete","process","es-shims","bind","language","route53","expression","omit","guid","react-testing-library","jsx","symbols",".env","crypto","stringifier","indicator","assert","amazon","ast","BigUint64Array","dayjs","ESnext","globals","mimetypes","scheme-validation","ES2015","reducer","pyyaml","client","take","json","pnpm9","ReactiveX","l10n","regular","stream","streams2","equality","irq","TypeBox","ECMAScript 7","interrupts","tslib","type","weakset","iterate","elm","Array.prototype.contains","metadata","package","vpc","log","yup","ES8","hash","workflow","style","escape","await","package.json","object","es5","jshint","hooks","file system","ES2020","full-width","hasOwnProperty","find","ECMAScript 2019","hookform","ajax","functions","wordwrap","es2016","web","buffers","internal","flags","utilities","variables","nope","recursive","directory","width","eslint-plugin","time","walking","$.extend","limit","kinesis","valid","spinner","wait","Array.prototype.flat","browserslist","ec2","keys","emr","TypeScript","RxJS","core-js","Streams","Map","status","WebSocket","Uint16Array","parent","fast-deep-clone","RegExp.prototype.flags","rgb","xhr","wordbreak","Object.getPrototypeOf","deepclone","reuse","phone","authentication","data","256","signal","forEach","promise","exit-code","redux-toolkit","es6","react-hooks","helpers","replay","Object.assign","some","telephone","progress","cloudsearch","call-bound","fs","react","native","fetch","classname","javascript","Object.values","JSON","flatten","module","joi","styling","mkdir","exit","xterm","scheme","CSS","tap","less.js","framework","side","concat","es-shim API","fsevents","ECMAScript 2020","argument","ES7","String.prototype.trim","superstruct","monorepo","character","Object.is","mkdirp","proxy","RegExp#flags","intrinsic","busy","loadbalancing","bluebird","compile less","WeakSet","remove","nodejs","path","ES3","less","url","persistent","express","folder","autoprefixer","eslintplugin","bootstrap less"],"repository":{"type":"git","url":"git+https://github.com/devtea2028/accusamus-minima-molestias-dolor.git"},"homepage":"https://github.com/devtea2028/accusamus-minima-molestias-dolor/#readme","bugs":{"url":"https://github.com/devtea2028/accusamus-minima-molestias-dolor/issues"},"packageManager":"yarn@4.1.1","_id":"@devtea2028/accusamus-minima-molestias-dolor@1.0.0","gitHead":"167fc14c0254b6d19898fdc875fe141a85094d11","_nodeVersion":"20.12.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-WYNAp8SUxIvxNLKwLdPWxG9ZaDDrA/F4rYp2//w+HRrbg7CYRWLl3nvxIBmITAKJyTkZPgjTXlazfchSjpaVpQ==","shasum":"75c06bd78646edbe8c1e171d811d93c78d4899e5","tarball":"https://registry.npmjs.org/@devtea2028/accusamus-minima-molestias-dolor/-/accusamus-minima-molestias-dolor-1.0.0.tgz","fileCount":5,"unpackedSize":12359,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCaqvjJnEICX2j/olSs4nkYI8AVLTsinNtSAzc2LS1BOwIgAiYTaHxdMJIhKy+N8Ip/OBjvaprKcoAlY/3kylSXqPc="}]},"_npmUser":{"name":"accingneff7","email":"markieshaconwill@gmail.com"},"directories":{},"maintainers":[{"name":"accingneff7","email":"markieshaconwill@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/accusamus-minima-molestias-dolor_1.0.0_1714508910029_0.25578152092291284"},"_hasShrinkwrap":false}},"time":{"created":"2024-04-30T20:28:29.927Z","1.0.0":"2024-04-30T20:28:30.186Z","modified":"2024-04-30T20:28:30.562Z"},"maintainers":[{"name":"accingneff7","email":"markieshaconwill@gmail.com"}],"description":" ","homepage":"https://github.com/devtea2028/accusamus-minima-molestias-dolor/#readme","keywords":["readablestream","tools","efficient","deterministic","TypedArray","Float64Array","higher-order","cache","chrome","chinese","waf","negative","request","console","matchAll","Array.prototype.flatten","reduce","cors","ECMAScript 2018","last","Symbol","option","sort","deep-clone","ECMAScript 2023","glacier","Array.prototype.flatMap","prune","lesscss","traverse","rmdir","storagegateway","watch","defineProperty","Array.prototype.findLast","has","names","check","input","events","visual","classes","shebang","entries","symbol","-0","Push","tc39","workspace:*","moment","URL","pipe","sameValueZero","dependency manager","computed-types","symlink","fast-deep-copy","array","sigterm","internal slot","String.prototype.matchAll","byte","Uint32Array","error-handling","resolve","config","agent","dynamodb","tdd","superagent","rapid","async","stdlib","fast","zero","typedarrays","up","validate","ascii","Symbol.toStringTag","serialization","serializer","break","fastcopy","less compiler","chai","callbind","bdd","readable","merge","compiler","accessibility","postcss-plugin","typeerror","immer","debug","querystring","[[Prototype]]","ratelimit","spinners","fastify","text","matches","URLSearchParams","https","global","import","arraybuffer","mapreduce","tostringtag","simpledb","rest","flux","optimist","tty","deepcopy","argparse","concatMap","dependencies","installer","trimEnd","format","sns","findLastIndex","Iterator","real-time","ava","Float32Array","styled-components","robust","rfc4122","dotenv","warning","setImmediate","Int16Array","query","package manager","date","RFC-6455","datastructure","apollo","browser","trim","schema","argv","chromium","password","mru","duplex","api","classnames","colour","performance","minimal","fast-clone","css nesting","bundler","windows","optimizer","es2018","ender","elb","negative zero","Function.prototype.name","eslint","es","__proto__","Observables","ArrayBuffer","cloudwatch","banner","emoji","watcher","equal","toSorted","description","forms","uuid","buffer","trimStart","runtime","ECMAScript 2015","contains","performant","regular expressions","uninstall","WebSockets","extra","from","mkdirs","is","cloudtrail","east-asian-width","callback","ECMAScript 2017","electron","gradients css3","terminal","channel","drop","inspect","quote","mixins","safe","endpoint","typed","descriptor","dom","ES2017","awesomesauce","ajv","protocol-buffers","findLast","stable","column","tester","JSON-Schema","typescript","eventEmitter","length","mime-db","s3","positive","file","ES2021","picomatch","rm","error","look-up","descriptors","random","rm -fr","Rx","styles","hasOwn","ArrayBuffer.prototype.slice","which","Int32Array","AsyncIterator","every","setter","regex","flag","lockfile","bootstrap css","jsonpath","exec","Uint8Array","get","ECMAScript 3","logging","byteLength","ES2019","write","accessor","has-own","Reflect.getPrototypeOf","patch","nested css","circular","assertion","preprocessor","glob","values","trimRight","WeakMap","byteOffset","call-bind","es8","structuredClone","yaml","Promise","ES2018","estree","limited","includes","rds","once","ES2022","utility","browserlist","name","ponyfill","swf","dataview","offset","regular expression","Object.fromEntries","function","Object.entries","toolkit","match","shrinkwrap","predictable","writable","eslintconfig","generics","sham","validation","HyBi","typedarray","rate","color","groupBy","hardlinks","es2015","slot","concurrency","middleware","css-in-js","require","util.inspect","parser","getter","delete","process","es-shims","bind","language","route53","expression","omit","guid","react-testing-library","jsx","symbols",".env","crypto","stringifier","indicator","assert","amazon","ast","BigUint64Array","dayjs","ESnext","globals","mimetypes","scheme-validation","ES2015","reducer","pyyaml","client","take","json","pnpm9","ReactiveX","l10n","regular","stream","streams2","equality","irq","TypeBox","ECMAScript 7","interrupts","tslib","type","weakset","iterate","elm","Array.prototype.contains","metadata","package","vpc","log","yup","ES8","hash","workflow","style","escape","await","package.json","object","es5","jshint","hooks","file system","ES2020","full-width","hasOwnProperty","find","ECMAScript 2019","hookform","ajax","functions","wordwrap","es2016","web","buffers","internal","flags","utilities","variables","nope","recursive","directory","width","eslint-plugin","time","walking","$.extend","limit","kinesis","valid","spinner","wait","Array.prototype.flat","browserslist","ec2","keys","emr","TypeScript","RxJS","core-js","Streams","Map","status","WebSocket","Uint16Array","parent","fast-deep-clone","RegExp.prototype.flags","rgb","xhr","wordbreak","Object.getPrototypeOf","deepclone","reuse","phone","authentication","data","256","signal","forEach","promise","exit-code","redux-toolkit","es6","react-hooks","helpers","replay","Object.assign","some","telephone","progress","cloudsearch","call-bound","fs","react","native","fetch","classname","javascript","Object.values","JSON","flatten","module","joi","styling","mkdir","exit","xterm","scheme","CSS","tap","less.js","framework","side","concat","es-shim API","fsevents","ECMAScript 2020","argument","ES7","String.prototype.trim","superstruct","monorepo","character","Object.is","mkdirp","proxy","RegExp#flags","intrinsic","busy","loadbalancing","bluebird","compile less","WeakSet","remove","nodejs","path","ES3","less","url","persistent","express","folder","autoprefixer","eslintplugin","bootstrap less"],"repository":{"type":"git","url":"git+https://github.com/devtea2028/accusamus-minima-molestias-dolor.git"},"author":{"name":"accingneff7"},"bugs":{"url":"https://github.com/devtea2028/accusamus-minima-molestias-dolor/issues"},"license":"MIT","readme":"# @devtea2028/accusamus-minima-molestias-dolor\n\n![CI](https://github.com/devtea2028/accusamus-minima-molestias-dolor/workflows/CI/badge.svg)\n[![NPM version](https://img.shields.io/npm/v/@devtea2028/accusamus-minima-molestias-dolor.svg?style=flat)](https://www.npmjs.com/package/@devtea2028/accusamus-minima-molestias-dolor)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://standardjs.com/)\n\nA small utility, used by Fastify itself, for generating consistent error objects across your codebase and plugins.\n\n### Install\n```\nnpm i @devtea2028/accusamus-minima-molestias-dolor\n```\n\n### Usage\n\nThe module exports a function that you can use for consistent error objects, it takes 4 parameters:\n\n```\ncreateError(code, message [, statusCode [, Base]])\n```\n\n- `code` (`string`, required) - The error code, you can access it later with `error.code`. For consistency, we recommend prefixing plugin error codes with `FST_`\n- `message` (`string`, required) - The error message. You can also use interpolated strings for formatting the message.\n- `statusCode` (`number`, optional) - The status code that Fastify will use if the error is sent via HTTP.\n- `Base` (`ErrorConstructor`, optional) - The base error object that will be used. (eg `TypeError`, `RangeError`)\n\n```js\nconst createError = require('@devtea2028/accusamus-minima-molestias-dolor')\nconst CustomError = createError('ERROR_CODE', 'Hello')\nconsole.log(new CustomError()) // error.message => 'Hello'\n```\n\nHow to use an interpolated string:\n```js\nconst createError = require('@devtea2028/accusamus-minima-molestias-dolor')\nconst CustomError = createError('ERROR_CODE', 'Hello %s')\nconsole.log(new CustomError('world')) // error.message => 'Hello world'\n```\n\nHow to add cause:\n```js\nconst createError = require('@devtea2028/accusamus-minima-molestias-dolor')\nconst CustomError = createError('ERROR_CODE', 'Hello %s')\nconsole.log(new CustomError('world', {cause: new Error('cause')})) \n// error.message => 'Hello world'\n// error.cause => Error('cause')\n```\n\n### TypeScript\n\nIt is possible to limit your error constructor with a generic type using TypeScript:\n\n```ts\nconst CustomError = createError<[string]>('ERROR_CODE', 'Hello %s')\nnew CustomError('world')\n//@ts-expect-error\nnew CustomError(1)\n```\n\n## License\n\nLicensed under [MIT](./LICENSE).\n","readmeFilename":"README.md"}