I'm using a custom framework to mock es responses, and i was wondering if you had seen anything that allowed mocking of sql exceptions?