Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TomHAnderson authored Jan 20, 2022
1 parent 705c27d commit ef48028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ try {
'title' => 'required|unique:posts|max:255',
'body' => 'required',
]);
} catch (\Illuminate\Validation\ValidationException $e) {
} catch (ValidationException $e) {
return ApiProblem::response($e->getMessage(), 422, null, null, ['errors' => $e->errors()]);
}
```
Expand Down

0 comments on commit ef48028

Please sign in to comment.