@@ -12,6 +12,7 @@ import type * as Types from "effect/Types"
1212import type * as ApiEndpoint from "./ApiEndpoint.js"
1313import type * as ApiRequest from "./ApiRequest.js"
1414import type * as ApiResponse from "./ApiResponse.js"
15+ import type * as HttpError from "./HttpError.js"
1516import * as internal from "./internal/handler.js"
1617import type * as utils from "./internal/utils.js"
1718import type * as Security from "./Security.js"
@@ -133,12 +134,12 @@ export const make: {
133134 < A extends ApiEndpoint . ApiEndpoint . Any , E , R > (
134135 fn : Handler . Function < A , E , R > ,
135136 options ?: Partial < Options >
136- ) : ( endpoint : A ) => Handler < A , E , R >
137+ ) : ( endpoint : A ) => Handler < A , Exclude < E , HttpError . HttpError > , R >
137138 < A extends ApiEndpoint . ApiEndpoint . Any , E , R > (
138139 endpoint : A ,
139140 fn : Handler . Function < A , E , R > ,
140141 options ?: Partial < Options >
141- ) : Handler < A , E , R >
142+ ) : Handler < A , Exclude < E , HttpError . HttpError > , R >
142143} = internal . make
143144
144145/**
0 commit comments