public addDataError ( string $title, string | null $detail = null, integer | string | null $status = null, integer | string | null $idx = null, Neomerx\JsonApi\Contracts\Document\LinkInterface $aboutLink = null, integer | string | null $code = null, mixed | null $meta = null ) | ||
$title | string | |
$detail | string | null | |
$status | integer | string | null | |
$idx | integer | string | null | |
$aboutLink | Neomerx\JsonApi\Contracts\Document\LinkInterface | |
$code | integer | string | null | |
$meta | mixed | null |
public function addDataError($title, $detail = null, $status = null, $idx = null, LinkInterface $aboutLink = null, $code = null, $meta = null)
{
$pointer = $this->getPathToData();
return $this->addResourceError($title, $pointer, $detail, $status, $idx, $aboutLink, $code, $meta);
}