Skip to content

Throw exception when failing to read from message. #144

@titusio

Description

@titusio

As my projects gets bigger, it becomes hard to find the spot where a message reading operation fails. For debug purposes, it could be helpful to throw an exception so IDEs can help debugging the code.
I think a static bool in the Message class like throwReadException could enable debug builds to throw exceptions while leaving release builds untouched.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions