public function toArray() : array { return ['success' => false, 'error' => $this->buildErrorData()]; }