fix: resolved comments

This commit is contained in:
mayur.popli
2025-03-28 17:17:36 +05:30
2 changed files with 14 additions and 11 deletions

View File

@@ -12,14 +12,6 @@ import (
"github.com/beckn/beckn-onix/pkg/model"
)
type ErrorType string
type errorResponseWriter struct{}
func (e *errorResponseWriter) Write([]byte) (int, error) {
return 0, errors.New("write error")
}
type Error struct {
Code string `json:"code,omitempty"`
@@ -27,7 +19,6 @@ type Error struct {
Paths string `json:"paths,omitempty"`
}
func (e *errorResponseWriter) WriteHeader(statusCode int) {}
// SchemaValidationErr represents a collection of schema validation failures.
type SchemaValidationErr struct {