Skip to content

Question on ServerException class #52

Open
@luebbert42

Description

@luebbert42

This is how it looks in symfony when the driver throws an exception - not really self-explaining without the additional information available via getDetails. I was wondering if there is a reason why the details are not in $e->getMessage().

Why does it bother me? For Symfony I have to implement a custom error handling thing to access getDetails() on application level, this is something I don't want to do just for one library in my stack. Am I getting the concept wrong?

screenshot_01

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions