Skip to content

[Laravel] Alternative to binding the error handler #7058

Closed
@zjbarg

Description

@zjbarg

Description
The laravel package service provider binds ApiPlatform\Laravel\Exception\ErrorHandler to Illuminate\Foundation\Exceptions\Handler.

When trying to setup api platform on an existing application, one does not expect the exception handler to be swapped.

It would be more powerful if (optionally) we can add the error handler behavior to our existing error handler instead of overriding it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions