error_code = $error_code; } public function error_code(): string { return $this->error_code; } public static function categorized( string $message, string $error_code ): self { return new self( $message, $error_code ); } }