public function makeExceptionHeader(StyleType $type): ?Style
    {
        if (!$type->isExceptionHeader()) {
            return null;
        }

        return Style::make()
            ->setBgColor(Color::RED())
            ->setFgColor(Color::WHITE())
            ->bold()
            ->margin(2)
            ->padding(2)
            ->align(Align::CENTER());
    }