Skip to content

Improve error handling #13

@lewishazell

Description

@lewishazell

Specifically, we shouldn't really be calling Client.Write() in exception constructors:
image

However, I see the need for standard error handling. The writes in the constructors currently perform this task.

I propose a middleware infrastructure, between PacketManager and the controllers, which would allow us to specify error handlers. Uncaught application exceptions will end up here and can be managed in a standard way.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions