|
|
@@ -1,24 +1,3 @@
|
|
|
-/**
|
|
|
- * @swagger
|
|
|
- *
|
|
|
- * components:
|
|
|
- * schemas:
|
|
|
- * ErrorV3:
|
|
|
- * description: Error for APIv3
|
|
|
- * type: object
|
|
|
- * properties:
|
|
|
- * message:
|
|
|
- * type: string
|
|
|
- * example: 'error message'
|
|
|
- * code:
|
|
|
- * type: string
|
|
|
- * example: 'someapi-error-with-something'
|
|
|
- * stack:
|
|
|
- * type: object
|
|
|
- * args:
|
|
|
- * type: object
|
|
|
- * example: { name: 'Josh', age: 20 }
|
|
|
- */
|
|
|
|
|
|
export class ErrorV3 extends Error {
|
|
|
|