public function __construct($idx = null, LinkInterface $aboutLink = null, $status = null, $code = null, $title = null, $detail = null, array $source = null, $meta = null)
{
$this->checkIdx($idx);
$this->checkCode($code);
$this->checkTitle($title);
$this->checkStatus($status);
$this->checkDetail($detail);
$this->idx = $idx;
$this->links = $aboutLink === null ? null : [DocumentInterface::KEYWORD_ERRORS_ABOUT => $aboutLink];
$this->status = $status !== null ? (string) $status : null;
$this->code = $code !== null ? (string) $code : null;
$this->title = $title;
$this->source = $source;
$this->detail = $detail;
$this->meta = $meta;
}