@breautek/storm 3.3.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/docs/README.md +153 -62
- package/docs/classes/{Application.Application-1.md → Application.md} +110 -112
- package/docs/classes/{BackendAuthenticationMiddleware.BackendAuthenticationMiddleware-1.md → BackendAuthenticationMiddleware.md} +6 -8
- package/docs/classes/CORSMiddleware.md +143 -0
- package/docs/classes/{ConfigLoader.ConfigLoader-1.md → ConfigLoader.md} +5 -7
- package/docs/classes/{Database.Database-1.md → Database.md} +30 -32
- package/docs/classes/{DatabaseConnection.DatabaseConnection-1.md → DatabaseConnection.md} +57 -59
- package/docs/classes/DatabaseQueryError.md +307 -0
- package/docs/classes/DiskSpaceError.md +301 -0
- package/docs/classes/DropTemporaryTableQuery.md +201 -0
- package/docs/classes/DumpStream.md +23 -0
- package/docs/classes/DuplicateEntryError.md +303 -0
- package/docs/classes/EntityNotFoundError.md +301 -0
- package/docs/classes/ExpiredTokenError.md +301 -0
- package/docs/classes/Handler.md +323 -0
- package/docs/classes/InternalError.md +301 -0
- package/docs/classes/InvalidCredentialsError.md +301 -0
- package/docs/classes/InvalidValueError.md +309 -0
- package/docs/classes/ManagedDatabaseConnection.md +397 -0
- package/docs/classes/Middleware.md +72 -0
- package/docs/classes/MissingConfigError.md +301 -0
- package/docs/classes/MissingParameterError.md +301 -0
- package/docs/classes/{MySQLConnection.MySQLConnection-1.md → MySQLConnection.md} +63 -65
- package/docs/classes/MySQLDatabase.md +314 -0
- package/docs/classes/{Query.Query-1.md → Query.md} +38 -32
- package/docs/classes/{RawQuery.RawQuery-1.md → RawQuery.md} +36 -32
- package/docs/classes/Request.md +321 -0
- package/docs/classes/Response.md +242 -0
- package/docs/classes/{ResponseData.ResponseData-1.md → ResponseData.md} +18 -20
- package/docs/classes/{ServiceProvider.ServiceProvider-1.md → ServiceProvider.md} +52 -54
- package/docs/classes/{ServiceResponse.ServiceResponse-1.md → ServiceResponse.md} +9 -11
- package/docs/classes/SetSessionVariableQuery.md +201 -0
- package/docs/classes/StormError.md +307 -0
- package/docs/classes/TemporaryTableQuery.md +207 -0
- package/docs/classes/{Token.Token-1.md → Token.md} +5 -7
- package/docs/classes/{TokenManager.TokenManager-1.md → TokenManager.md} +16 -18
- package/docs/classes/UnauthorizedAccessError.md +301 -0
- package/docs/enums/ErrorCode.md +107 -0
- package/docs/enums/ExitCode.md +30 -0
- package/docs/enums/HTTPMethod.md +52 -0
- package/docs/enums/JWTError.md +30 -0
- package/docs/enums/StatusCode.md +536 -0
- package/docs/interfaces/IAdditionalErrorDetails.md +7 -0
- package/docs/interfaces/{IAuthTokenData.IAuthTokenData-1.md → IAuthTokenData.md} +4 -6
- package/docs/interfaces/IConfig.md +112 -0
- package/docs/interfaces/{IDatabaseConfig.IDatabaseConfig-1.md → IDatabaseConfig.md} +13 -15
- package/docs/interfaces/{IDatabaseConnection.IDatabaseConnection-1.md → IDatabaseConnection.md} +33 -35
- package/docs/interfaces/IErrorResponse.md +52 -0
- package/docs/interfaces/IFormData.md +30 -0
- package/docs/interfaces/{IHandler.IHandler-1.md → IHandler.md} +4 -6
- package/docs/interfaces/IInsertQueryResult.md +41 -0
- package/docs/interfaces/IJWTVerifyOptions.md +19 -0
- package/docs/interfaces/IParameterMap.md +7 -0
- package/docs/interfaces/IRequestResponse.md +37 -0
- package/docs/interfaces/IServiceHeaders.md +7 -0
- package/docs/interfaces/ISetSessionVariableQueryInput.md +30 -0
- package/docs/interfaces/ITemporaryTableQueryInput.md +30 -0
- package/docs/interfaces/IUpdateQueryResult.md +30 -0
- package/docs/interfaces/{api.formidable.EmitData.md → formidable.EmitData.md} +7 -7
- package/docs/interfaces/{api.formidable.EventData.md → formidable.EventData.md} +10 -10
- package/docs/interfaces/formidable.Fields.md +9 -0
- package/docs/interfaces/{api.formidable.File.md → formidable.File.md} +12 -12
- package/docs/interfaces/{api.formidable.FileJSON.md → formidable.FileJSON.md} +12 -12
- package/docs/interfaces/formidable.Files.md +9 -0
- package/docs/interfaces/{api.formidable.Options.md → formidable.Options.md} +17 -15
- package/docs/interfaces/{api.formidable.Part.md → formidable.Part.md} +41 -41
- package/docs/modules/{api.formidable.md → formidable.md} +23 -25
- package/lib/Application.js +1 -1
- package/lib/Application.js.map +1 -1
- package/lib/BackendAuthenticationMiddleware.js +2 -2
- package/lib/BackendAuthenticationMiddleware.js.map +1 -1
- package/lib/CORSMiddleware.js +1 -1
- package/lib/CORSMiddleware.js.map +1 -1
- package/lib/ConfigLoader.js +1 -1
- package/lib/ConfigLoader.js.map +1 -1
- package/lib/Database.js +1 -1
- package/lib/Database.js.map +1 -1
- package/lib/DatabaseConnection.js +4 -4
- package/lib/DatabaseConnection.js.map +1 -1
- package/lib/Handler.js +2 -2
- package/lib/Handler.js.map +1 -1
- package/lib/ManagedDatabaseConnection.js +4 -4
- package/lib/ManagedDatabaseConnection.js.map +1 -1
- package/lib/MySQLConnection.js +7 -7
- package/lib/MySQLConnection.js.map +1 -1
- package/lib/MySQLDatabase.js +4 -4
- package/lib/MySQLDatabase.js.map +1 -1
- package/lib/Query.d.ts +2 -2
- package/lib/Query.js +2 -2
- package/lib/Query.js.map +1 -1
- package/lib/Request.js +2 -2
- package/lib/Request.js.map +1 -1
- package/lib/Response.js +1 -1
- package/lib/Response.js.map +1 -1
- package/lib/SetSessionVariableQuery.d.ts +10 -0
- package/lib/SetSessionVariableQuery.js +20 -0
- package/lib/SetSessionVariableQuery.js.map +1 -0
- package/lib/StormError.js +1 -1
- package/lib/StormError.js.map +1 -1
- package/lib/TemporaryTableQuery.d.ts +2 -1
- package/lib/TemporaryTableQuery.js +2 -2
- package/lib/TemporaryTableQuery.js.map +1 -1
- package/lib/TokenManager.js +1 -1
- package/lib/TokenManager.js.map +1 -1
- package/lib/api.d.ts +1 -0
- package/lib/api.js +3 -1
- package/lib/api.js.map +1 -1
- package/package.json +20 -20
- package/src/DatabaseConnection.ts +2 -2
- package/src/Query.ts +3 -3
- package/src/SetSessionVariableQuery.ts +29 -0
- package/src/TemporaryTableQuery.ts +3 -2
- package/src/api.ts +1 -0
- package/.nyc_output/01d7f3ed-ada5-4fbf-bf72-17458de5eda1.json +0 -1
- package/.nyc_output/07a372ea-5f20-411a-8f9b-5cfd38c9f7cf.json +0 -1
- package/.nyc_output/1a03fe29-15f4-4d36-a6f1-061f95c919d2.json +0 -1
- package/.nyc_output/1be973a3-2986-4e51-9bef-ffa834a81029.json +0 -1
- package/.nyc_output/1fa3f196-6284-4422-b186-8fb97ac299b1.json +0 -1
- package/.nyc_output/21b4136c-a3f4-465a-ab85-cdfa70dda252.json +0 -1
- package/.nyc_output/279ce3fa-118b-4b21-bbd4-a0dbabb3cf28.json +0 -1
- package/.nyc_output/370daf16-8792-4296-a491-4b0ff8c5c03d.json +0 -1
- package/.nyc_output/44cabfc1-f759-4ff5-9502-0967bba28c3b.json +0 -1
- package/.nyc_output/52cc8740-cb58-4b4e-b952-bedee8b2a4b9.json +0 -1
- package/.nyc_output/5359ad53-153e-4a68-9158-095880ce3682.json +0 -1
- package/.nyc_output/54476a59-73ed-43c2-b90f-46bad1fd2b24.json +0 -1
- package/.nyc_output/5e815b47-2082-47aa-8d02-548d8f0175a6.json +0 -1
- package/.nyc_output/6300a22c-16ee-4f46-a5bc-ac392153ef39.json +0 -1
- package/.nyc_output/6331ec83-1ccd-4980-8cdb-55f87f01b6a0.json +0 -1
- package/.nyc_output/6a819ad4-b691-45b3-b693-98f812bd3249.json +0 -1
- package/.nyc_output/77e0e45c-5d9f-4848-96a1-cc36e5373078.json +0 -1
- package/.nyc_output/790a50c9-e677-48ed-9d87-3ca0d173f7b0.json +0 -1
- package/.nyc_output/7dad65fb-92f5-4d0a-a576-e071c1ab73e5.json +0 -1
- package/.nyc_output/7ee3638f-2a2d-4d5a-9970-254a86884c40.json +0 -1
- package/.nyc_output/883b8a83-3a1e-4153-a987-3a2f5455a627.json +0 -1
- package/.nyc_output/8dc3a0b6-b04e-45f5-85ec-99efabb63499.json +0 -1
- package/.nyc_output/8e03b522-9fef-4fae-82c0-f51611fab55a.json +0 -1
- package/.nyc_output/946bad92-6c4b-4ac1-b508-83983322629c.json +0 -1
- package/.nyc_output/95d30443-c776-4f68-ab14-34ecdccdaee4.json +0 -1
- package/.nyc_output/abc21188-b3dc-4cce-bc20-f0680a4dde62.json +0 -1
- package/.nyc_output/ac7ebac2-d226-41f9-b271-25b0ad449de0.json +0 -1
- package/.nyc_output/ae1048af-74db-41a3-b4d7-e511f60259ef.json +0 -1
- package/.nyc_output/b121ce1e-5d6b-4b6d-93a7-21b315098afc.json +0 -1
- package/.nyc_output/bb6d14e4-2e75-45bd-a1f0-67c21781bcf6.json +0 -1
- package/.nyc_output/c5d84f76-682f-429c-9b0d-241c81a72907.json +0 -1
- package/.nyc_output/d14c616f-ca9b-402d-879d-c7e91ecc6b89.json +0 -1
- package/.nyc_output/d3096a06-29ef-4de7-b565-b7b1ca58471a.json +0 -1
- package/.nyc_output/d6313ced-0715-41aa-a0bb-22eeae3cccc1.json +0 -1
- package/.nyc_output/e7143b16-9cb3-4900-9498-05c40f90af46.json +0 -1
- package/.nyc_output/eb21b824-fc88-4f0c-9e72-bd691a141b75.json +0 -1
- package/.nyc_output/ee09e08d-c0f5-4fba-9fa1-849b0f32f347.json +0 -1
- package/.nyc_output/ee8b9792-e4fc-4950-8532-733858a2a7f2.json +0 -1
- package/.nyc_output/f4344c1d-e947-4c51-abe0-e3600b4e721d.json +0 -1
- package/.nyc_output/f7d0a4d2-62db-494d-bb67-78e3f93ae05b.json +0 -1
- package/.nyc_output/processinfo/01d7f3ed-ada5-4fbf-bf72-17458de5eda1.json +0 -1
- package/.nyc_output/processinfo/07a372ea-5f20-411a-8f9b-5cfd38c9f7cf.json +0 -1
- package/.nyc_output/processinfo/1a03fe29-15f4-4d36-a6f1-061f95c919d2.json +0 -1
- package/.nyc_output/processinfo/1be973a3-2986-4e51-9bef-ffa834a81029.json +0 -1
- package/.nyc_output/processinfo/1fa3f196-6284-4422-b186-8fb97ac299b1.json +0 -1
- package/.nyc_output/processinfo/21b4136c-a3f4-465a-ab85-cdfa70dda252.json +0 -1
- package/.nyc_output/processinfo/279ce3fa-118b-4b21-bbd4-a0dbabb3cf28.json +0 -1
- package/.nyc_output/processinfo/370daf16-8792-4296-a491-4b0ff8c5c03d.json +0 -1
- package/.nyc_output/processinfo/44cabfc1-f759-4ff5-9502-0967bba28c3b.json +0 -1
- package/.nyc_output/processinfo/52cc8740-cb58-4b4e-b952-bedee8b2a4b9.json +0 -1
- package/.nyc_output/processinfo/5359ad53-153e-4a68-9158-095880ce3682.json +0 -1
- package/.nyc_output/processinfo/54476a59-73ed-43c2-b90f-46bad1fd2b24.json +0 -1
- package/.nyc_output/processinfo/5e815b47-2082-47aa-8d02-548d8f0175a6.json +0 -1
- package/.nyc_output/processinfo/6300a22c-16ee-4f46-a5bc-ac392153ef39.json +0 -1
- package/.nyc_output/processinfo/6331ec83-1ccd-4980-8cdb-55f87f01b6a0.json +0 -1
- package/.nyc_output/processinfo/6a819ad4-b691-45b3-b693-98f812bd3249.json +0 -1
- package/.nyc_output/processinfo/77e0e45c-5d9f-4848-96a1-cc36e5373078.json +0 -1
- package/.nyc_output/processinfo/790a50c9-e677-48ed-9d87-3ca0d173f7b0.json +0 -1
- package/.nyc_output/processinfo/7dad65fb-92f5-4d0a-a576-e071c1ab73e5.json +0 -1
- package/.nyc_output/processinfo/7ee3638f-2a2d-4d5a-9970-254a86884c40.json +0 -1
- package/.nyc_output/processinfo/883b8a83-3a1e-4153-a987-3a2f5455a627.json +0 -1
- package/.nyc_output/processinfo/8dc3a0b6-b04e-45f5-85ec-99efabb63499.json +0 -1
- package/.nyc_output/processinfo/8e03b522-9fef-4fae-82c0-f51611fab55a.json +0 -1
- package/.nyc_output/processinfo/946bad92-6c4b-4ac1-b508-83983322629c.json +0 -1
- package/.nyc_output/processinfo/95d30443-c776-4f68-ab14-34ecdccdaee4.json +0 -1
- package/.nyc_output/processinfo/abc21188-b3dc-4cce-bc20-f0680a4dde62.json +0 -1
- package/.nyc_output/processinfo/ac7ebac2-d226-41f9-b271-25b0ad449de0.json +0 -1
- package/.nyc_output/processinfo/ae1048af-74db-41a3-b4d7-e511f60259ef.json +0 -1
- package/.nyc_output/processinfo/b121ce1e-5d6b-4b6d-93a7-21b315098afc.json +0 -1
- package/.nyc_output/processinfo/bb6d14e4-2e75-45bd-a1f0-67c21781bcf6.json +0 -1
- package/.nyc_output/processinfo/c5d84f76-682f-429c-9b0d-241c81a72907.json +0 -1
- package/.nyc_output/processinfo/d14c616f-ca9b-402d-879d-c7e91ecc6b89.json +0 -1
- package/.nyc_output/processinfo/d3096a06-29ef-4de7-b565-b7b1ca58471a.json +0 -1
- package/.nyc_output/processinfo/d6313ced-0715-41aa-a0bb-22eeae3cccc1.json +0 -1
- package/.nyc_output/processinfo/e7143b16-9cb3-4900-9498-05c40f90af46.json +0 -1
- package/.nyc_output/processinfo/eb21b824-fc88-4f0c-9e72-bd691a141b75.json +0 -1
- package/.nyc_output/processinfo/ee09e08d-c0f5-4fba-9fa1-849b0f32f347.json +0 -1
- package/.nyc_output/processinfo/ee8b9792-e4fc-4950-8532-733858a2a7f2.json +0 -1
- package/.nyc_output/processinfo/f4344c1d-e947-4c51-abe0-e3600b4e721d.json +0 -1
- package/.nyc_output/processinfo/f7d0a4d2-62db-494d-bb67-78e3f93ae05b.json +0 -1
- package/.nyc_output/processinfo/index.json +0 -1
- package/docs/classes/CORSMiddleware.CORSMiddleware-1.md +0 -145
- package/docs/classes/DatabaseQueryError.DatabaseQueryError-1.md +0 -309
- package/docs/classes/DiskSpaceError.DiskSpaceError-1.md +0 -303
- package/docs/classes/DropTemporaryTableQuery.DropTemporaryTableQuery-1.md +0 -197
- package/docs/classes/DumpStream.DumpStream-1.md +0 -25
- package/docs/classes/DuplicateEntryError.DuplicateEntryError-1.md +0 -305
- package/docs/classes/EntityNotFoundError.EntityNotFoundError-1.md +0 -303
- package/docs/classes/ExpiredTokenError.ExpiredTokenError-1.md +0 -303
- package/docs/classes/Handler.Handler-1.md +0 -325
- package/docs/classes/InternalError.InternalError-1.md +0 -303
- package/docs/classes/InvalidConfigError.InvalidConfigError-1.md +0 -316
- package/docs/classes/InvalidCredentialsError.InvalidCredentialsError-1.md +0 -303
- package/docs/classes/InvalidValueError.InvalidValueError-1.md +0 -311
- package/docs/classes/JWTVerifyOptionsParser.JWTVerifyOptionsParser-1.md +0 -45
- package/docs/classes/ManagedDatabaseConnection.ManagedDatabaseConnection-1.md +0 -399
- package/docs/classes/Middleware.Middleware-1.md +0 -74
- package/docs/classes/MissingConfigError.MissingConfigError-1.md +0 -303
- package/docs/classes/MissingParameterError.MissingParameterError-1.md +0 -303
- package/docs/classes/MySQLDatabase.MySQLDatabase-1.md +0 -316
- package/docs/classes/Request.Request-1.md +0 -323
- package/docs/classes/Response.Response-1.md +0 -244
- package/docs/classes/StormError.StormError-1.md +0 -309
- package/docs/classes/TemporaryTableQuery.TemporaryTableQuery-1.md +0 -197
- package/docs/classes/UnauthorizedAccessError.UnauthorizedAccessError-1.md +0 -301
- package/docs/classes/private_CommitQuery.CommitQuery.md +0 -197
- package/docs/classes/private_RollbackQuery.RollbackQuery.md +0 -197
- package/docs/classes/private_StartTransactionQuery.StartTransactionQuery.md +0 -197
- package/docs/enums/ApplicationEvent.ApplicationEvent-1.md +0 -21
- package/docs/enums/ErrorCode.ErrorCode-1.md +0 -109
- package/docs/enums/ExitCode.ExitCode-1.md +0 -32
- package/docs/enums/HTTPMethod.HTTPMethod-1.md +0 -54
- package/docs/enums/JWTError.JWTError-1.md +0 -32
- package/docs/enums/StatusCode.StatusCode-1.md +0 -538
- package/docs/interfaces/DropTemporaryTableQuery.IDropTemporaryTableQueryInput.md +0 -21
- package/docs/interfaces/IConfig.IConfig-1.md +0 -114
- package/docs/interfaces/IFormData.IFormData-1.md +0 -32
- package/docs/interfaces/IInsertQueryResult.IInsertQueryResult-1.md +0 -43
- package/docs/interfaces/IJWTVerifyOptions.IJWTVerifyOptions-1.md +0 -21
- package/docs/interfaces/IRequestResponse.IRequestResponse-1.md +0 -39
- package/docs/interfaces/IServiceHeaders.IServiceHeaders-1.md +0 -9
- package/docs/interfaces/IUpdateQueryResult.IUpdateQueryResult-1.md +0 -32
- package/docs/interfaces/Request.IParameterMap.md +0 -9
- package/docs/interfaces/Response.IHeaderKeyValuePair.md +0 -9
- package/docs/interfaces/StormError.IAdditionalErrorDetails.md +0 -9
- package/docs/interfaces/StormError.IErrorResponse.md +0 -54
- package/docs/interfaces/TemporaryTableQuery.ITemporaryTableQueryInput.md +0 -32
- package/docs/interfaces/api.formidable.Fields.md +0 -9
- package/docs/interfaces/api.formidable.Files.md +0 -9
- package/docs/modules/Application.md +0 -9
- package/docs/modules/ApplicationEvent.md +0 -9
- package/docs/modules/BackendAuthenticationMiddleware.md +0 -9
- package/docs/modules/CORSMiddleware.md +0 -9
- package/docs/modules/ConfigLoader.md +0 -9
- package/docs/modules/Database.md +0 -9
- package/docs/modules/DatabaseConnection.md +0 -34
- package/docs/modules/DatabaseQueryError.md +0 -9
- package/docs/modules/DiskSpaceError.md +0 -9
- package/docs/modules/DropTemporaryTableQuery.md +0 -13
- package/docs/modules/DumpStream.md +0 -9
- package/docs/modules/DuplicateEntryError.md +0 -9
- package/docs/modules/EntityNotFoundError.md +0 -9
- package/docs/modules/ErrorCode.md +0 -9
- package/docs/modules/ExitCode.md +0 -9
- package/docs/modules/ExpiredTokenError.md +0 -9
- package/docs/modules/HTTPMethod.md +0 -9
- package/docs/modules/Handler.md +0 -50
- package/docs/modules/IAuthTokenData.md +0 -9
- package/docs/modules/IConfig.md +0 -9
- package/docs/modules/IDatabaseConfig.md +0 -9
- package/docs/modules/IDatabaseConnection.md +0 -9
- package/docs/modules/IDeleteQueryResult.md +0 -19
- package/docs/modules/IFormData.md +0 -9
- package/docs/modules/IHandler.md +0 -9
- package/docs/modules/IInsertQueryResult.md +0 -9
- package/docs/modules/IJWTVerifyOptions.md +0 -9
- package/docs/modules/IRequestResponse.md +0 -9
- package/docs/modules/IServiceHeaders.md +0 -9
- package/docs/modules/IUpdateQueryResult.md +0 -9
- package/docs/modules/InternalError.md +0 -9
- package/docs/modules/InvalidConfigError.md +0 -9
- package/docs/modules/InvalidCredentialsError.md +0 -9
- package/docs/modules/InvalidValueError.md +0 -9
- package/docs/modules/JWTError.md +0 -9
- package/docs/modules/JWTVerifyOptionsParser.md +0 -9
- package/docs/modules/ManagedDatabaseConnection.md +0 -9
- package/docs/modules/Middleware.md +0 -9
- package/docs/modules/MissingConfigError.md +0 -9
- package/docs/modules/MissingParameterError.md +0 -9
- package/docs/modules/MySQLConnection.md +0 -9
- package/docs/modules/MySQLDatabase.md +0 -9
- package/docs/modules/Query.md +0 -9
- package/docs/modules/RawQuery.md +0 -9
- package/docs/modules/Request.md +0 -13
- package/docs/modules/Response.md +0 -27
- package/docs/modules/ResponseData.md +0 -9
- package/docs/modules/ServiceProvider.md +0 -9
- package/docs/modules/ServiceResponse.md +0 -9
- package/docs/modules/StatusCode.md +0 -9
- package/docs/modules/StormError.md +0 -14
- package/docs/modules/TemporaryTableQuery.md +0 -13
- package/docs/modules/Token.md +0 -9
- package/docs/modules/TokenManager.md +0 -9
- package/docs/modules/UnauthorizedAccessError.md +0 -9
- package/docs/modules/api.md +0 -439
- package/docs/modules/instance.md +0 -44
- package/docs/modules/private_CommitQuery.md +0 -9
- package/docs/modules/private_RollbackQuery.md +0 -9
- package/docs/modules/private_StartTransactionQuery.md +0 -9
|
@@ -1,303 +0,0 @@
|
|
|
1
|
-
[@breautek/storm](../README.md) / [InternalError](../modules/InternalError.md) / InternalError
|
|
2
|
-
|
|
3
|
-
# Class: InternalError
|
|
4
|
-
|
|
5
|
-
[InternalError](../modules/InternalError.md).InternalError
|
|
6
|
-
|
|
7
|
-
## Hierarchy
|
|
8
|
-
|
|
9
|
-
- [`StormError`](StormError.StormError-1.md)<`any`\>
|
|
10
|
-
|
|
11
|
-
↳ **`InternalError`**
|
|
12
|
-
|
|
13
|
-
## Table of contents
|
|
14
|
-
|
|
15
|
-
### Constructors
|
|
16
|
-
|
|
17
|
-
- [constructor](InternalError.InternalError-1.md#constructor)
|
|
18
|
-
|
|
19
|
-
### Properties
|
|
20
|
-
|
|
21
|
-
- [message](InternalError.InternalError-1.md#message)
|
|
22
|
-
- [name](InternalError.InternalError-1.md#name)
|
|
23
|
-
- [stack](InternalError.InternalError-1.md#stack)
|
|
24
|
-
- [prepareStackTrace](InternalError.InternalError-1.md#preparestacktrace)
|
|
25
|
-
- [stackTraceLimit](InternalError.InternalError-1.md#stacktracelimit)
|
|
26
|
-
|
|
27
|
-
### Methods
|
|
28
|
-
|
|
29
|
-
- [getCode](InternalError.InternalError-1.md#getcode)
|
|
30
|
-
- [getErrorResponse](InternalError.InternalError-1.md#geterrorresponse)
|
|
31
|
-
- [getExitCode](InternalError.InternalError-1.md#getexitcode)
|
|
32
|
-
- [getHTTPCode](InternalError.InternalError-1.md#gethttpcode)
|
|
33
|
-
- [getMessage](InternalError.InternalError-1.md#getmessage)
|
|
34
|
-
- [getPrivateDetails](InternalError.InternalError-1.md#getprivatedetails)
|
|
35
|
-
- [getPublicDetails](InternalError.InternalError-1.md#getpublicdetails)
|
|
36
|
-
- [captureStackTrace](InternalError.InternalError-1.md#capturestacktrace)
|
|
37
|
-
|
|
38
|
-
## Constructors
|
|
39
|
-
|
|
40
|
-
### constructor
|
|
41
|
-
|
|
42
|
-
• **new InternalError**(`details?`)
|
|
43
|
-
|
|
44
|
-
#### Parameters
|
|
45
|
-
|
|
46
|
-
| Name | Type |
|
|
47
|
-
| :------ | :------ |
|
|
48
|
-
| `details?` | `any` |
|
|
49
|
-
|
|
50
|
-
#### Overrides
|
|
51
|
-
|
|
52
|
-
[StormError](StormError.StormError-1.md).[constructor](StormError.StormError-1.md#constructor)
|
|
53
|
-
|
|
54
|
-
#### Defined in
|
|
55
|
-
|
|
56
|
-
[src/InternalError.ts:23](https://github.com/breautek/storm/blob/621aeec/src/InternalError.ts#L23)
|
|
57
|
-
|
|
58
|
-
## Properties
|
|
59
|
-
|
|
60
|
-
### message
|
|
61
|
-
|
|
62
|
-
• **message**: `string`
|
|
63
|
-
|
|
64
|
-
#### Inherited from
|
|
65
|
-
|
|
66
|
-
[StormError](StormError.StormError-1.md).[message](StormError.StormError-1.md#message)
|
|
67
|
-
|
|
68
|
-
#### Defined in
|
|
69
|
-
|
|
70
|
-
node_modules/typescript/lib/lib.es5.d.ts:974
|
|
71
|
-
|
|
72
|
-
___
|
|
73
|
-
|
|
74
|
-
### name
|
|
75
|
-
|
|
76
|
-
• **name**: `string`
|
|
77
|
-
|
|
78
|
-
#### Inherited from
|
|
79
|
-
|
|
80
|
-
[StormError](StormError.StormError-1.md).[name](StormError.StormError-1.md#name)
|
|
81
|
-
|
|
82
|
-
#### Defined in
|
|
83
|
-
|
|
84
|
-
node_modules/typescript/lib/lib.es5.d.ts:973
|
|
85
|
-
|
|
86
|
-
___
|
|
87
|
-
|
|
88
|
-
### stack
|
|
89
|
-
|
|
90
|
-
• `Optional` **stack**: `string`
|
|
91
|
-
|
|
92
|
-
#### Inherited from
|
|
93
|
-
|
|
94
|
-
[StormError](StormError.StormError-1.md).[stack](StormError.StormError-1.md#stack)
|
|
95
|
-
|
|
96
|
-
#### Defined in
|
|
97
|
-
|
|
98
|
-
node_modules/typescript/lib/lib.es5.d.ts:975
|
|
99
|
-
|
|
100
|
-
___
|
|
101
|
-
|
|
102
|
-
### prepareStackTrace
|
|
103
|
-
|
|
104
|
-
▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any`
|
|
105
|
-
|
|
106
|
-
Optional override for formatting stack traces
|
|
107
|
-
|
|
108
|
-
#### Type declaration
|
|
109
|
-
|
|
110
|
-
▸ (`err`, `stackTraces`): `any`
|
|
111
|
-
|
|
112
|
-
Optional override for formatting stack traces
|
|
113
|
-
|
|
114
|
-
##### Parameters
|
|
115
|
-
|
|
116
|
-
| Name | Type |
|
|
117
|
-
| :------ | :------ |
|
|
118
|
-
| `err` | `Error` |
|
|
119
|
-
| `stackTraces` | `CallSite`[] |
|
|
120
|
-
|
|
121
|
-
##### Returns
|
|
122
|
-
|
|
123
|
-
`any`
|
|
124
|
-
|
|
125
|
-
#### Inherited from
|
|
126
|
-
|
|
127
|
-
[StormError](StormError.StormError-1.md).[prepareStackTrace](StormError.StormError-1.md#preparestacktrace)
|
|
128
|
-
|
|
129
|
-
#### Defined in
|
|
130
|
-
|
|
131
|
-
node_modules/@types/node/globals.d.ts:11
|
|
132
|
-
|
|
133
|
-
___
|
|
134
|
-
|
|
135
|
-
### stackTraceLimit
|
|
136
|
-
|
|
137
|
-
▪ `Static` **stackTraceLimit**: `number`
|
|
138
|
-
|
|
139
|
-
#### Inherited from
|
|
140
|
-
|
|
141
|
-
[StormError](StormError.StormError-1.md).[stackTraceLimit](StormError.StormError-1.md#stacktracelimit)
|
|
142
|
-
|
|
143
|
-
#### Defined in
|
|
144
|
-
|
|
145
|
-
node_modules/@types/node/globals.d.ts:13
|
|
146
|
-
|
|
147
|
-
## Methods
|
|
148
|
-
|
|
149
|
-
### getCode
|
|
150
|
-
|
|
151
|
-
▸ **getCode**(): [`ErrorCode`](../enums/ErrorCode.ErrorCode-1.md)
|
|
152
|
-
|
|
153
|
-
#### Returns
|
|
154
|
-
|
|
155
|
-
[`ErrorCode`](../enums/ErrorCode.ErrorCode-1.md)
|
|
156
|
-
|
|
157
|
-
#### Overrides
|
|
158
|
-
|
|
159
|
-
[StormError](StormError.StormError-1.md).[getCode](StormError.StormError-1.md#getcode)
|
|
160
|
-
|
|
161
|
-
#### Defined in
|
|
162
|
-
|
|
163
|
-
[src/InternalError.ts:31](https://github.com/breautek/storm/blob/621aeec/src/InternalError.ts#L31)
|
|
164
|
-
|
|
165
|
-
___
|
|
166
|
-
|
|
167
|
-
### getErrorResponse
|
|
168
|
-
|
|
169
|
-
▸ **getErrorResponse**(): [`IErrorResponse`](../interfaces/StormError.IErrorResponse.md)
|
|
170
|
-
|
|
171
|
-
#### Returns
|
|
172
|
-
|
|
173
|
-
[`IErrorResponse`](../interfaces/StormError.IErrorResponse.md)
|
|
174
|
-
|
|
175
|
-
#### Inherited from
|
|
176
|
-
|
|
177
|
-
[StormError](StormError.StormError-1.md).[getErrorResponse](StormError.StormError-1.md#geterrorresponse)
|
|
178
|
-
|
|
179
|
-
#### Defined in
|
|
180
|
-
|
|
181
|
-
[src/StormError.ts:70](https://github.com/breautek/storm/blob/621aeec/src/StormError.ts#L70)
|
|
182
|
-
|
|
183
|
-
___
|
|
184
|
-
|
|
185
|
-
### getExitCode
|
|
186
|
-
|
|
187
|
-
▸ **getExitCode**(): [`ExitCode`](../enums/ExitCode.ExitCode-1.md)
|
|
188
|
-
|
|
189
|
-
#### Returns
|
|
190
|
-
|
|
191
|
-
[`ExitCode`](../enums/ExitCode.ExitCode-1.md)
|
|
192
|
-
|
|
193
|
-
#### Inherited from
|
|
194
|
-
|
|
195
|
-
[StormError](StormError.StormError-1.md).[getExitCode](StormError.StormError-1.md#getexitcode)
|
|
196
|
-
|
|
197
|
-
#### Defined in
|
|
198
|
-
|
|
199
|
-
[src/StormError.ts:79](https://github.com/breautek/storm/blob/621aeec/src/StormError.ts#L79)
|
|
200
|
-
|
|
201
|
-
___
|
|
202
|
-
|
|
203
|
-
### getHTTPCode
|
|
204
|
-
|
|
205
|
-
▸ **getHTTPCode**(): [`StatusCode`](../enums/StatusCode.StatusCode-1.md)
|
|
206
|
-
|
|
207
|
-
#### Returns
|
|
208
|
-
|
|
209
|
-
[`StatusCode`](../enums/StatusCode.StatusCode-1.md)
|
|
210
|
-
|
|
211
|
-
#### Overrides
|
|
212
|
-
|
|
213
|
-
[StormError](StormError.StormError-1.md).[getHTTPCode](StormError.StormError-1.md#gethttpcode)
|
|
214
|
-
|
|
215
|
-
#### Defined in
|
|
216
|
-
|
|
217
|
-
[src/InternalError.ts:35](https://github.com/breautek/storm/blob/621aeec/src/InternalError.ts#L35)
|
|
218
|
-
|
|
219
|
-
___
|
|
220
|
-
|
|
221
|
-
### getMessage
|
|
222
|
-
|
|
223
|
-
▸ **getMessage**(): `string`
|
|
224
|
-
|
|
225
|
-
#### Returns
|
|
226
|
-
|
|
227
|
-
`string`
|
|
228
|
-
|
|
229
|
-
#### Overrides
|
|
230
|
-
|
|
231
|
-
[StormError](StormError.StormError-1.md).[getMessage](StormError.StormError-1.md#getmessage)
|
|
232
|
-
|
|
233
|
-
#### Defined in
|
|
234
|
-
|
|
235
|
-
[src/InternalError.ts:27](https://github.com/breautek/storm/blob/621aeec/src/InternalError.ts#L27)
|
|
236
|
-
|
|
237
|
-
___
|
|
238
|
-
|
|
239
|
-
### getPrivateDetails
|
|
240
|
-
|
|
241
|
-
▸ **getPrivateDetails**(): `any`
|
|
242
|
-
|
|
243
|
-
Private details are only logged to the server log.
|
|
244
|
-
They are kept secret from the client.
|
|
245
|
-
|
|
246
|
-
#### Returns
|
|
247
|
-
|
|
248
|
-
`any`
|
|
249
|
-
|
|
250
|
-
#### Inherited from
|
|
251
|
-
|
|
252
|
-
[StormError](StormError.StormError-1.md).[getPrivateDetails](StormError.StormError-1.md#getprivatedetails)
|
|
253
|
-
|
|
254
|
-
#### Defined in
|
|
255
|
-
|
|
256
|
-
[src/StormError.ts:62](https://github.com/breautek/storm/blob/621aeec/src/StormError.ts#L62)
|
|
257
|
-
|
|
258
|
-
___
|
|
259
|
-
|
|
260
|
-
### getPublicDetails
|
|
261
|
-
|
|
262
|
-
▸ **getPublicDetails**(): [`IAdditionalErrorDetails`](../interfaces/StormError.IAdditionalErrorDetails.md)
|
|
263
|
-
|
|
264
|
-
Sends details to the client.
|
|
265
|
-
|
|
266
|
-
#### Returns
|
|
267
|
-
|
|
268
|
-
[`IAdditionalErrorDetails`](../interfaces/StormError.IAdditionalErrorDetails.md)
|
|
269
|
-
|
|
270
|
-
#### Inherited from
|
|
271
|
-
|
|
272
|
-
[StormError](StormError.StormError-1.md).[getPublicDetails](StormError.StormError-1.md#getpublicdetails)
|
|
273
|
-
|
|
274
|
-
#### Defined in
|
|
275
|
-
|
|
276
|
-
[src/StormError.ts:54](https://github.com/breautek/storm/blob/621aeec/src/StormError.ts#L54)
|
|
277
|
-
|
|
278
|
-
___
|
|
279
|
-
|
|
280
|
-
### captureStackTrace
|
|
281
|
-
|
|
282
|
-
▸ `Static` **captureStackTrace**(`targetObject`, `constructorOpt?`): `void`
|
|
283
|
-
|
|
284
|
-
Create .stack property on a target object
|
|
285
|
-
|
|
286
|
-
#### Parameters
|
|
287
|
-
|
|
288
|
-
| Name | Type |
|
|
289
|
-
| :------ | :------ |
|
|
290
|
-
| `targetObject` | `object` |
|
|
291
|
-
| `constructorOpt?` | `Function` |
|
|
292
|
-
|
|
293
|
-
#### Returns
|
|
294
|
-
|
|
295
|
-
`void`
|
|
296
|
-
|
|
297
|
-
#### Inherited from
|
|
298
|
-
|
|
299
|
-
[StormError](StormError.StormError-1.md).[captureStackTrace](StormError.StormError-1.md#capturestacktrace)
|
|
300
|
-
|
|
301
|
-
#### Defined in
|
|
302
|
-
|
|
303
|
-
node_modules/@types/node/globals.d.ts:4
|
|
@@ -1,316 +0,0 @@
|
|
|
1
|
-
[@breautek/storm](../README.md) / [InvalidConfigError](../modules/InvalidConfigError.md) / InvalidConfigError
|
|
2
|
-
|
|
3
|
-
# Class: InvalidConfigError<TConfig\>
|
|
4
|
-
|
|
5
|
-
[InvalidConfigError](../modules/InvalidConfigError.md).InvalidConfigError
|
|
6
|
-
|
|
7
|
-
## Type parameters
|
|
8
|
-
|
|
9
|
-
| Name | Type |
|
|
10
|
-
| :------ | :------ |
|
|
11
|
-
| `TConfig` | extends [`IConfig`](../interfaces/IConfig.IConfig-1.md) |
|
|
12
|
-
|
|
13
|
-
## Hierarchy
|
|
14
|
-
|
|
15
|
-
- [`StormError`](StormError.StormError-1.md)<`IInvalidConfigErrorDetails`<`TConfig`\>\>
|
|
16
|
-
|
|
17
|
-
↳ **`InvalidConfigError`**
|
|
18
|
-
|
|
19
|
-
## Table of contents
|
|
20
|
-
|
|
21
|
-
### Constructors
|
|
22
|
-
|
|
23
|
-
- [constructor](InvalidConfigError.InvalidConfigError-1.md#constructor)
|
|
24
|
-
|
|
25
|
-
### Properties
|
|
26
|
-
|
|
27
|
-
- [message](InvalidConfigError.InvalidConfigError-1.md#message)
|
|
28
|
-
- [name](InvalidConfigError.InvalidConfigError-1.md#name)
|
|
29
|
-
- [stack](InvalidConfigError.InvalidConfigError-1.md#stack)
|
|
30
|
-
- [prepareStackTrace](InvalidConfigError.InvalidConfigError-1.md#preparestacktrace)
|
|
31
|
-
- [stackTraceLimit](InvalidConfigError.InvalidConfigError-1.md#stacktracelimit)
|
|
32
|
-
|
|
33
|
-
### Methods
|
|
34
|
-
|
|
35
|
-
- [getCode](InvalidConfigError.InvalidConfigError-1.md#getcode)
|
|
36
|
-
- [getErrorResponse](InvalidConfigError.InvalidConfigError-1.md#geterrorresponse)
|
|
37
|
-
- [getExitCode](InvalidConfigError.InvalidConfigError-1.md#getexitcode)
|
|
38
|
-
- [getHTTPCode](InvalidConfigError.InvalidConfigError-1.md#gethttpcode)
|
|
39
|
-
- [getMessage](InvalidConfigError.InvalidConfigError-1.md#getmessage)
|
|
40
|
-
- [getPrivateDetails](InvalidConfigError.InvalidConfigError-1.md#getprivatedetails)
|
|
41
|
-
- [getPublicDetails](InvalidConfigError.InvalidConfigError-1.md#getpublicdetails)
|
|
42
|
-
- [captureStackTrace](InvalidConfigError.InvalidConfigError-1.md#capturestacktrace)
|
|
43
|
-
|
|
44
|
-
## Constructors
|
|
45
|
-
|
|
46
|
-
### constructor
|
|
47
|
-
|
|
48
|
-
• **new InvalidConfigError**<`TConfig`\>(`config`, `errors`)
|
|
49
|
-
|
|
50
|
-
#### Type parameters
|
|
51
|
-
|
|
52
|
-
| Name | Type |
|
|
53
|
-
| :------ | :------ |
|
|
54
|
-
| `TConfig` | extends [`IConfig`](../interfaces/IConfig.IConfig-1.md) |
|
|
55
|
-
|
|
56
|
-
#### Parameters
|
|
57
|
-
|
|
58
|
-
| Name | Type |
|
|
59
|
-
| :------ | :------ |
|
|
60
|
-
| `config` | `TConfig` |
|
|
61
|
-
| `errors` | `ErrorObject`<`string`, `Record`<`string`, `any`\>, `unknown`\>[] |
|
|
62
|
-
|
|
63
|
-
#### Overrides
|
|
64
|
-
|
|
65
|
-
[StormError](StormError.StormError-1.md).[constructor](StormError.StormError-1.md#constructor)
|
|
66
|
-
|
|
67
|
-
#### Defined in
|
|
68
|
-
|
|
69
|
-
[src/InvalidConfigError.ts:30](https://github.com/breautek/storm/blob/621aeec/src/InvalidConfigError.ts#L30)
|
|
70
|
-
|
|
71
|
-
## Properties
|
|
72
|
-
|
|
73
|
-
### message
|
|
74
|
-
|
|
75
|
-
• **message**: `string`
|
|
76
|
-
|
|
77
|
-
#### Inherited from
|
|
78
|
-
|
|
79
|
-
[StormError](StormError.StormError-1.md).[message](StormError.StormError-1.md#message)
|
|
80
|
-
|
|
81
|
-
#### Defined in
|
|
82
|
-
|
|
83
|
-
node_modules/typescript/lib/lib.es5.d.ts:974
|
|
84
|
-
|
|
85
|
-
___
|
|
86
|
-
|
|
87
|
-
### name
|
|
88
|
-
|
|
89
|
-
• **name**: `string`
|
|
90
|
-
|
|
91
|
-
#### Inherited from
|
|
92
|
-
|
|
93
|
-
[StormError](StormError.StormError-1.md).[name](StormError.StormError-1.md#name)
|
|
94
|
-
|
|
95
|
-
#### Defined in
|
|
96
|
-
|
|
97
|
-
node_modules/typescript/lib/lib.es5.d.ts:973
|
|
98
|
-
|
|
99
|
-
___
|
|
100
|
-
|
|
101
|
-
### stack
|
|
102
|
-
|
|
103
|
-
• `Optional` **stack**: `string`
|
|
104
|
-
|
|
105
|
-
#### Inherited from
|
|
106
|
-
|
|
107
|
-
[StormError](StormError.StormError-1.md).[stack](StormError.StormError-1.md#stack)
|
|
108
|
-
|
|
109
|
-
#### Defined in
|
|
110
|
-
|
|
111
|
-
node_modules/typescript/lib/lib.es5.d.ts:975
|
|
112
|
-
|
|
113
|
-
___
|
|
114
|
-
|
|
115
|
-
### prepareStackTrace
|
|
116
|
-
|
|
117
|
-
▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any`
|
|
118
|
-
|
|
119
|
-
Optional override for formatting stack traces
|
|
120
|
-
|
|
121
|
-
#### Type declaration
|
|
122
|
-
|
|
123
|
-
▸ (`err`, `stackTraces`): `any`
|
|
124
|
-
|
|
125
|
-
Optional override for formatting stack traces
|
|
126
|
-
|
|
127
|
-
##### Parameters
|
|
128
|
-
|
|
129
|
-
| Name | Type |
|
|
130
|
-
| :------ | :------ |
|
|
131
|
-
| `err` | `Error` |
|
|
132
|
-
| `stackTraces` | `CallSite`[] |
|
|
133
|
-
|
|
134
|
-
##### Returns
|
|
135
|
-
|
|
136
|
-
`any`
|
|
137
|
-
|
|
138
|
-
#### Inherited from
|
|
139
|
-
|
|
140
|
-
[StormError](StormError.StormError-1.md).[prepareStackTrace](StormError.StormError-1.md#preparestacktrace)
|
|
141
|
-
|
|
142
|
-
#### Defined in
|
|
143
|
-
|
|
144
|
-
node_modules/@types/node/globals.d.ts:11
|
|
145
|
-
|
|
146
|
-
___
|
|
147
|
-
|
|
148
|
-
### stackTraceLimit
|
|
149
|
-
|
|
150
|
-
▪ `Static` **stackTraceLimit**: `number`
|
|
151
|
-
|
|
152
|
-
#### Inherited from
|
|
153
|
-
|
|
154
|
-
[StormError](StormError.StormError-1.md).[stackTraceLimit](StormError.StormError-1.md#stacktracelimit)
|
|
155
|
-
|
|
156
|
-
#### Defined in
|
|
157
|
-
|
|
158
|
-
node_modules/@types/node/globals.d.ts:13
|
|
159
|
-
|
|
160
|
-
## Methods
|
|
161
|
-
|
|
162
|
-
### getCode
|
|
163
|
-
|
|
164
|
-
▸ **getCode**(): [`ErrorCode`](../enums/ErrorCode.ErrorCode-1.md)
|
|
165
|
-
|
|
166
|
-
#### Returns
|
|
167
|
-
|
|
168
|
-
[`ErrorCode`](../enums/ErrorCode.ErrorCode-1.md)
|
|
169
|
-
|
|
170
|
-
#### Overrides
|
|
171
|
-
|
|
172
|
-
[StormError](StormError.StormError-1.md).[getCode](StormError.StormError-1.md#getcode)
|
|
173
|
-
|
|
174
|
-
#### Defined in
|
|
175
|
-
|
|
176
|
-
[src/InvalidConfigError.ts:42](https://github.com/breautek/storm/blob/621aeec/src/InvalidConfigError.ts#L42)
|
|
177
|
-
|
|
178
|
-
___
|
|
179
|
-
|
|
180
|
-
### getErrorResponse
|
|
181
|
-
|
|
182
|
-
▸ **getErrorResponse**(): [`IErrorResponse`](../interfaces/StormError.IErrorResponse.md)
|
|
183
|
-
|
|
184
|
-
#### Returns
|
|
185
|
-
|
|
186
|
-
[`IErrorResponse`](../interfaces/StormError.IErrorResponse.md)
|
|
187
|
-
|
|
188
|
-
#### Inherited from
|
|
189
|
-
|
|
190
|
-
[StormError](StormError.StormError-1.md).[getErrorResponse](StormError.StormError-1.md#geterrorresponse)
|
|
191
|
-
|
|
192
|
-
#### Defined in
|
|
193
|
-
|
|
194
|
-
[src/StormError.ts:70](https://github.com/breautek/storm/blob/621aeec/src/StormError.ts#L70)
|
|
195
|
-
|
|
196
|
-
___
|
|
197
|
-
|
|
198
|
-
### getExitCode
|
|
199
|
-
|
|
200
|
-
▸ **getExitCode**(): [`ExitCode`](../enums/ExitCode.ExitCode-1.md)
|
|
201
|
-
|
|
202
|
-
#### Returns
|
|
203
|
-
|
|
204
|
-
[`ExitCode`](../enums/ExitCode.ExitCode-1.md)
|
|
205
|
-
|
|
206
|
-
#### Overrides
|
|
207
|
-
|
|
208
|
-
[StormError](StormError.StormError-1.md).[getExitCode](StormError.StormError-1.md#getexitcode)
|
|
209
|
-
|
|
210
|
-
#### Defined in
|
|
211
|
-
|
|
212
|
-
[src/InvalidConfigError.ts:50](https://github.com/breautek/storm/blob/621aeec/src/InvalidConfigError.ts#L50)
|
|
213
|
-
|
|
214
|
-
___
|
|
215
|
-
|
|
216
|
-
### getHTTPCode
|
|
217
|
-
|
|
218
|
-
▸ **getHTTPCode**(): [`StatusCode`](../enums/StatusCode.StatusCode-1.md)
|
|
219
|
-
|
|
220
|
-
#### Returns
|
|
221
|
-
|
|
222
|
-
[`StatusCode`](../enums/StatusCode.StatusCode-1.md)
|
|
223
|
-
|
|
224
|
-
#### Overrides
|
|
225
|
-
|
|
226
|
-
[StormError](StormError.StormError-1.md).[getHTTPCode](StormError.StormError-1.md#gethttpcode)
|
|
227
|
-
|
|
228
|
-
#### Defined in
|
|
229
|
-
|
|
230
|
-
[src/InvalidConfigError.ts:46](https://github.com/breautek/storm/blob/621aeec/src/InvalidConfigError.ts#L46)
|
|
231
|
-
|
|
232
|
-
___
|
|
233
|
-
|
|
234
|
-
### getMessage
|
|
235
|
-
|
|
236
|
-
▸ **getMessage**(): `string`
|
|
237
|
-
|
|
238
|
-
#### Returns
|
|
239
|
-
|
|
240
|
-
`string`
|
|
241
|
-
|
|
242
|
-
#### Overrides
|
|
243
|
-
|
|
244
|
-
[StormError](StormError.StormError-1.md).[getMessage](StormError.StormError-1.md#getmessage)
|
|
245
|
-
|
|
246
|
-
#### Defined in
|
|
247
|
-
|
|
248
|
-
[src/InvalidConfigError.ts:37](https://github.com/breautek/storm/blob/621aeec/src/InvalidConfigError.ts#L37)
|
|
249
|
-
|
|
250
|
-
___
|
|
251
|
-
|
|
252
|
-
### getPrivateDetails
|
|
253
|
-
|
|
254
|
-
▸ **getPrivateDetails**(): `IInvalidConfigErrorDetails`<`TConfig`\>
|
|
255
|
-
|
|
256
|
-
Private details are only logged to the server log.
|
|
257
|
-
They are kept secret from the client.
|
|
258
|
-
|
|
259
|
-
#### Returns
|
|
260
|
-
|
|
261
|
-
`IInvalidConfigErrorDetails`<`TConfig`\>
|
|
262
|
-
|
|
263
|
-
#### Inherited from
|
|
264
|
-
|
|
265
|
-
[StormError](StormError.StormError-1.md).[getPrivateDetails](StormError.StormError-1.md#getprivatedetails)
|
|
266
|
-
|
|
267
|
-
#### Defined in
|
|
268
|
-
|
|
269
|
-
[src/StormError.ts:62](https://github.com/breautek/storm/blob/621aeec/src/StormError.ts#L62)
|
|
270
|
-
|
|
271
|
-
___
|
|
272
|
-
|
|
273
|
-
### getPublicDetails
|
|
274
|
-
|
|
275
|
-
▸ **getPublicDetails**(): [`IAdditionalErrorDetails`](../interfaces/StormError.IAdditionalErrorDetails.md)
|
|
276
|
-
|
|
277
|
-
Sends details to the client.
|
|
278
|
-
|
|
279
|
-
#### Returns
|
|
280
|
-
|
|
281
|
-
[`IAdditionalErrorDetails`](../interfaces/StormError.IAdditionalErrorDetails.md)
|
|
282
|
-
|
|
283
|
-
#### Inherited from
|
|
284
|
-
|
|
285
|
-
[StormError](StormError.StormError-1.md).[getPublicDetails](StormError.StormError-1.md#getpublicdetails)
|
|
286
|
-
|
|
287
|
-
#### Defined in
|
|
288
|
-
|
|
289
|
-
[src/StormError.ts:54](https://github.com/breautek/storm/blob/621aeec/src/StormError.ts#L54)
|
|
290
|
-
|
|
291
|
-
___
|
|
292
|
-
|
|
293
|
-
### captureStackTrace
|
|
294
|
-
|
|
295
|
-
▸ `Static` **captureStackTrace**(`targetObject`, `constructorOpt?`): `void`
|
|
296
|
-
|
|
297
|
-
Create .stack property on a target object
|
|
298
|
-
|
|
299
|
-
#### Parameters
|
|
300
|
-
|
|
301
|
-
| Name | Type |
|
|
302
|
-
| :------ | :------ |
|
|
303
|
-
| `targetObject` | `object` |
|
|
304
|
-
| `constructorOpt?` | `Function` |
|
|
305
|
-
|
|
306
|
-
#### Returns
|
|
307
|
-
|
|
308
|
-
`void`
|
|
309
|
-
|
|
310
|
-
#### Inherited from
|
|
311
|
-
|
|
312
|
-
[StormError](StormError.StormError-1.md).[captureStackTrace](StormError.StormError-1.md#capturestacktrace)
|
|
313
|
-
|
|
314
|
-
#### Defined in
|
|
315
|
-
|
|
316
|
-
node_modules/@types/node/globals.d.ts:4
|