cuelsp icon indicating copy to clipboard operation
cuelsp copied to clipboard

Improve error handling

Open TomChv opened this issue 3 years ago • 0 comments

What are you trying to do?

I want to find an elegant way to handle error globally without any code duplication

Why is this important to you?

It's important to keep a clean codebase for further improvement

How are you currently working around this?

Currently using a function named wrapError that is called everywhere I return an error.

TomChv avatar Jul 20 '22 20:07 TomChv