fix failing testHandleRequestWithExceptionShouldReturnErrorResponse

if an Exception is thrown without setting a code manually, it defaults to 0. change Error:setCode to set the code to -32000 (ERROR_OTHER) if this is the case.