Skip to content
This repository has been archived by the owner on Dec 19, 2019. It is now read-only.

Commit

Permalink
#970 Cannot return several errors for one GraphQL request
Browse files Browse the repository at this point in the history
  • Loading branch information
lenaorobei committed Oct 17, 2019
1 parent a18b0e1 commit 39042ac
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ public function getCategory() : string
}

/**
* Add child error if used as aggregate exception
*
* @param LocalizedException $exception
* @return $this
*/
Expand All @@ -72,6 +74,8 @@ public function addError(LocalizedException $exception): self
}

/**
* Get child errors if used as aggregate exception
*
* @return LocalizedException[]
*/
public function getErrors(): array
Expand Down

0 comments on commit 39042ac

Please sign in to comment.