Closed alonsovb closed 10 months ago
Good idea @jorgeramirezamora , I'll include an example of using the returned error 👍
I believe the error handling is deviating from the documentation. But the doc update could come later :-) +1 for the test case.
LGTM
I created an interface for PrestoError but I'm now thinking that it should be a class, so that you can do
catch (error) {
if (error instanceof PrestoError) { ... }
}
so I'll take some time to refactor that
Changes
Resolves #11