First Commit
Some checks failed
Quality check / Static analysis (push) Has been cancelled
Quality check / Tests (push) Has been cancelled

This commit is contained in:
Hayzam Sherif
2026-02-11 06:27:36 +05:30
commit 94e1e26cc3
56 changed files with 8530 additions and 0 deletions

17
errors.go Normal file
View File

@@ -0,0 +1,17 @@
package mellaris
import "fmt"
// ConfigError indicates a configuration issue.
type ConfigError struct {
Field string
Err error
}
func (e ConfigError) Error() string {
return fmt.Sprintf("invalid config: %s: %s", e.Field, e.Err)
}
func (e ConfigError) Unwrap() error {
return e.Err
}