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", } var LUX_RPC_ERROR_UNKNOWN_COMMAND = LuxRpcError{ ErrorCode: 3, Message: "unknown command", }