diff --git a/app/views/download.html b/app/views/download.html
index d11fa42..86ef67c 100644
--- a/app/views/download.html
+++ b/app/views/download.html
@@ -15,7 +15,7 @@
{{end}}
-
+
{{range $index, $format := $video.Formats}}
diff --git a/go.mod b/go.mod
index c4d2866..8fcf5f0 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
module go.fifitido.net/ytdl-web
-go 1.21
+go 1.22
require (
github.com/adrg/xdg v0.4.0
diff --git a/pkg/ytdl/error.go b/pkg/ytdl/error.go
new file mode 100644
index 0000000..42e5650
--- /dev/null
+++ b/pkg/ytdl/error.go
@@ -0,0 +1,19 @@
+package ytdl
+
+type Error struct {
+ stdout string
+ stderr string
+ child error
+}
+
+func (e *Error) Error() string {
+ return e.child.Error()
+}
+
+func (e *Error) Stdout() string {
+ return e.stdout
+}
+
+func (e *Error) Stderr() string {
+ return e.stderr
+}