Skip to content

no source header in error objects #316

@ennorehling

Description

@ennorehling

error objects have setSourcePointer and setSourceParameter methods, but there is no setSourceHeader as described by https://jsonapi.org/format/#error-objects

Are there any alternatives if I want my error to contain [ 'source' => [ 'header' => 'Foo-Bar' ] ], or is this a missing feature?

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