@arch-api/http-exceptions-mappers
Advanced tools
Comparing version 2.1.1 to 2.2.0
@@ -0,1 +1,13 @@ | ||
import { Exception } from '@arch-api/exceptions'; | ||
import { HttpStatuses } from '@arch-api/http-status'; | ||
interface HttpExceptionMapperResponse { | ||
code: string; | ||
message: string; | ||
status: HttpStatuses; | ||
} | ||
interface HttpExceptionMapper { | ||
toResponse(exception: Exception): HttpExceptionMapperResponse; | ||
} | ||
export { HttpExceptionMapper, HttpExceptionMapperResponse }; |
{ | ||
"name": "@arch-api/http-exceptions-mappers", | ||
"version": "2.1.1", | ||
"version": "2.2.0", | ||
"description": "Arch Api - Exceptions Mappers", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
1976
28