Files
sablier/pkg/theme/errors.go
Alexis Couvreur b1e8fc2f20 test(docker): use testcontainers (#519)
* refactor: move app/theme to pkg/theme

* refactor

* wip

* use dockerindocker

* add providertest

* wip

* wip

* test(docker): get state  now uses dind container to test against a real provider

* test(docker): move to docker_test package

* refactor(docker): create container_inspect.go

* test(docker): add more dind test

* test(docker): event test now use docker in docker

* refactor: remove unused instance  type props

* refactor test docker

* fix instance list  sort

* stabilize test

* remove testcontainers custom config
2025-03-01 19:34:36 -05:00

15 lines
214 B
Go

package theme
import (
"fmt"
)
type ErrThemeNotFound struct {
Theme string
AvailableThemes []string
}
func (t ErrThemeNotFound) Error() string {
return fmt.Sprintf("theme %s not found", t.Theme)
}