From 79363aabf06654866d691881c2754c2178042bbf Mon Sep 17 00:00:00 2001 From: yanweidong Date: Mon, 19 Feb 2024 14:13:35 +0800 Subject: [PATCH] del ex worker code --- exception/work.go | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 exception/work.go diff --git a/exception/work.go b/exception/work.go deleted file mode 100644 index a784e55..0000000 --- a/exception/work.go +++ /dev/null @@ -1,30 +0,0 @@ -package exception - -// mesh custom error code ,begin:100 -var ( - // proxy - ErrWorkerServiceNotFound = ErrorJson(100, "Service Node Not Started") - ErrWorkerServerIsNil = ErrorJson(101, "Service Is Nil") - ErrWorkerMethodNotFound = ErrorJson(102, "Service Method Not Found") - ErrWorkerRequestContent = ErrorJson(103, "Worker Parse Request Content") - ErrWorkerRequestParams = ErrorJson(104, "Worker Parse Request Params") - - // header - ErrInvalidHeaderParams = ErrorJson(105, "Invalid Header Params") - - // grpc getway - ErrWorkerFailedProxy = ErrorJson(107, "Worker gRPC proxying should never reach this stage") - ErrWorkerGrpcProxyShould = ErrorJson(108, "Worker gRPC proxying should never reach this stage") - ErrWorkerServerStreamNotFound = ErrorJson(109, "Worker lowLevelServerStream not exists in context") - - // http getway - ErrWorkerHttpReadAll = ErrorJson(110, "Worker Http Read All") - ErrWorkerHttpResolveService = ErrorJson(111, "Worker Http Resolve Service") - ErrWorkerHttpMarshalJSON = ErrorJson(112, "Worker Http Parameter Must JSON") - ErrWorkerHttpUnmarshalJSON = ErrorJson(113, "Worker Http Return Not JSON") - ErrWorkerHttpReflectInvokeRpc = ErrorJson(114, "Worker Http Reflect InvokeRpc") - ErrWorkerHttpReflectAsDynamicMessage = ErrorJson(115, "Worker Http Reflect AsDynamicMessage") - - // invok - ErrServiceInvok = ErrorJson(116, "Service Invok") -)