Error handling for bad requests
When passing invalid formats like "^$#@><!()" to UnitXY field or unitZ field or passing ";:" to fromCrs field, we get generic "Internal server error" with incorrect HTTP status code. Handled these errors with correct http status code and response.
Edited by Yash Dholakia