跳转到内容

此内容尚不支持你的语言。

此内容尚不支持你的语言。

validationDetail

const validationDetail: <T>(message) => (error) => any;

Defined in: elysia/dist/error.d.ts:39

Wrap a string into a TypeBox error callback that overrides the default validation message. Use as t.Number({ error: validationDetail('x must be a number') }).

Type Parameter
T
ParameterType
messageT

(error) => any

最近更新:

Type to search the documentation.

    Up arrowDown arrow to navigateEnter to selectEscape to close