error_code; } /** * Get the additional error metadata. * * @return array */ public function getExtensions(): array { return $this->extensions; } /** * Get the HTTP status code. * * @return int */ public function getStatusCode(): int { return $this->getCode(); } }