lapis-exceptions
lapis-exceptions copied to clipboard
Exception normalizer: Sort fields after SELECT
If we detect a SELECT query fragment in the error message, parse it and then sort the names of all the fields. Since it's common for order to change due to the a Lua table being encoded to form the original query, many exception types end up getting created