ytdl-web/pkg/ytdl/error.go

20 lines
248 B
Go
Raw Permalink Normal View History

2024-11-06 23:25:44 -05:00
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
}