Add support of web validation errors
If this package is used in an application that uses api AND common web parts together, package should support native Laravel form validation flow like `response()->withErrors([])`. This change will handle this behaviour. You can just throw validation exception, and everything will work.