Skip to content

Commit

Permalink
Add root namespace to Exception
Browse files Browse the repository at this point in the history
  • Loading branch information
codedge authored Aug 16, 2023
2 parents 04db686 + e2299fe commit 251cf70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fpdf/Fpdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ function AliasNbPages($alias='{nb}')
function Error($msg)
{
// Fatal error
throw new Exception('FPDF error: '.$msg);
throw new \Exception('FPDF error: '.$msg);
}

function Close()
Expand Down

0 comments on commit 251cf70

Please sign in to comment.