mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
13 lines
389 B
Go
13 lines
389 B
Go
package errors
|
|
|
|
func NewGrpcError(msg string) (err error) {
|
|
return NewError(ErrorPrefixGrpc, msg)
|
|
}
|
|
|
|
var (
|
|
ErrorGrpcClientFailedToStart = NewGrpcError("client failed to start")
|
|
ErrorGrpcServerFailedToListen = NewGrpcError("server failed to listen")
|
|
ErrorGrpcServerFailedToServe = NewGrpcError("server failed to serve")
|
|
ErrorGrpcUnauthorized = NewGrpcError("unauthorized")
|
|
)
|