Add component name prefix to errors

This commit is contained in:
Will Faught
2023-03-04 11:06:38 -08:00
parent bfb3e90505
commit b6ea579be1
7 changed files with 8 additions and 8 deletions

View File

@@ -11,7 +11,7 @@
{{ $width := .Get "width" }}
{{ if not $src }}
{{ errorf "invalid src: %q" $src }}
{{ errorf "paige/image: invalid src: %q" $src }}
{{ end }}
{{ $content := partial "paige/img.html" (dict