1 package errors 2 3 import ( 4 "fmt" 5 6 "google.golang.org/protobuf/reflect/protoreflect" 7 ) 8 9 type EndpointNotFoundError struct { 10 Method protoreflect.FullName 11 } 12 13 func (e *EndpointNotFoundError) Error() string { 14 return fmt.Sprintf("endpoint not found for method '%s'", e.Method) 15 } 16