The error for bad input found by an extractor: names where the input came from and which part.
- status: usually 400 or 422.
- location: where the bad input came from, such as
"query"or"body". - field: which part of it was bad.
- detail: what is wrong with it.
input_error :: (
status: int,
location: string,
field: string,
detail: string
) -> Http_Error
The error for bad input found by an extractor: names where the input came from and which part.
Parameters
- status: int
- usually 400 or 422.
- location: string
- where the bad input came from, such as
"query"or"body". - field: string
- which part of it was bad.
- detail: string
- what is wrong with it.