lux/rpc/lux_rpc_errors.go
2025-01-24 01:58:35 +02:00

14 lines
311 B
Go

package rpc
// all errors are defined here. since RPC is sync locked,
// no problem would be mutating RequestID
var LUX_RPC_ERROR_UNKNOWN_CONTROLLER = LuxRpcError{
ErrorCode: 1,
Message: "unknown controller",
}
var LUX_RPC_ERROR_ACCESS_DENIED = LuxRpcError{
ErrorCode: 2,
Message: "access denied",
}