This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
Organize exception class into better hierarchy #184
Labels
duplicate
This issue or pull request already exists
maintenance
Improves code quality, but not the product
Proposal: #179 (comment). Currently we have multiple exception classes for different error, such as:
SqlParseException
ParserException
SQLFeatureNotSupportedException
SQLFeatureDisabledException
VerificationException
SqlAnalysisException
It's good to have fine-grained exception but they should be organized into hierarchy with common root. In this case, we don't need to enumerate all of them to decide what HTTP error code should be returned:
The text was updated successfully, but these errors were encountered: