error responses have been painful to deal with. need to do something to update the error handling to make it easier to work with.
the biggest thing is that the error kind is based on a string but that can probably be a defined enum to help with compiler checks and having a known list of possible error kinds vs various strings all over the place. with the defined enum error kind, the server errors can use that to auto fill any necessary properties without having to always define then each time.
error responses have been painful to deal with. need to do something to update the error handling to make it easier to work with.
the biggest thing is that the error
kind
is based on a string but that can probably be a defined enum to help with compiler checks and having a known list of possible error kinds vs various strings all over the place. with the defined enum error kind, the server errors can use that to auto fill any necessary properties without having to always define then each time.