Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

Commit 251cf70

Browse files
authored
Add root namespace to Exception
2 parents 04db686 + e2299fe commit 251cf70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Fpdf/Fpdf.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ function AliasNbPages($alias='{nb}')
264264
function Error($msg)
265265
{
266266
// Fatal error
267-
throw new Exception('FPDF error: '.$msg);
267+
throw new \Exception('FPDF error: '.$msg);
268268
}
269269

270270
function Close()

0 commit comments

Comments
 (0)