Adds support for handling DAMSON error messages

- DAMSON error messages should now be handled and returned correctly.