diff options
-rw-r--r-- | fpdf.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -359,7 +359,7 @@ func (f *Fpdf) SetPageBox(t string, pb PageBox) { case "artbox": t = "ArtBox" default: - f.err = fmt.Sprintf("%s is not a valid page box type") + f.err = fmt.Errorf("%s is not a valid page box type", t) return } |