1
0

errors.go 228 B

12345678910111213
  1. package vips
  2. import (
  3. "github.com/imgproxy/imgproxy/v3/ierrors"
  4. )
  5. type VipsError string
  6. func newVipsError(msg string) error {
  7. return ierrors.Wrap(VipsError(msg), 1)
  8. }
  9. func (e VipsError) Error() string { return string(e) }